mirror of
https://github.com/bootandy/dust.git
synced 2026-01-14 13:57:17 -08:00
Added json output function
This commit is contained in:
committed by
andy.boot
parent
a3dcab9454
commit
184ea1f956
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user