refactor: cleanup -j / --output-json flag

Stop -j writing to a file, print to stdout instead.
This commit is contained in:
andy.boot
2024-05-02 23:27:48 +01:00
parent cab250aa0e
commit 4f6255971b
4 changed files with 17 additions and 34 deletions
+1 -2
View File
@@ -3,11 +3,10 @@ use crate::utils::is_filtered_out_due_to_invert_regex;
use crate::utils::is_filtered_out_due_to_regex;
use regex::Regex;
use serde::Serialize;
use std::cmp::Ordering;
use std::path::PathBuf;
#[derive(Debug, Eq, Clone, Serialize)]
#[derive(Debug, Eq, Clone)]
pub struct Node {
pub name: PathBuf,
pub size: u64,