Added json output function

This commit is contained in:
Fukushima Shogo
2024-04-25 12:18:16 +09:00
committed by andy.boot
parent a3dcab9454
commit 184ea1f956
12 changed files with 232 additions and 4 deletions

View File

@@ -5,8 +5,9 @@ use crate::utils::is_filtered_out_due_to_regex;
use regex::Regex;
use std::cmp::Ordering;
use std::path::PathBuf;
use serde::Serialize;
#[derive(Debug, Eq, Clone)]
#[derive(Debug, Eq, Clone, Serialize)]
pub struct Node {
pub name: PathBuf,
pub size: u64,