Struct liboskar::types::FileTree
[−]
[src]
pub struct FileTree { pub file_size: FileSize, // some fields omitted }
Fields
file_size: FileSize
Methods
impl FileTree
[src]
fn sort(
self,
maybe_num: Option<usize>,
min_bytes: Option<u64>,
dirs_only: bool,
max_depth: Option<u8>
) -> FileTree
[src]
self,
maybe_num: Option<usize>,
min_bytes: Option<u64>,
dirs_only: bool,
max_depth: Option<u8>
) -> FileTree
fn filtered(
self,
min_bytes: Option<u64>,
dirs_only: bool,
max_depth: Option<u8>
) -> FileTree
[src]
self,
min_bytes: Option<u64>,
dirs_only: bool,
max_depth: Option<u8>
) -> FileTree
fn new() -> FileTree
[src]
fn add(&mut self, size: FileSize)
[src]
fn push(
&mut self,
path: String,
size: FileSize,
subtree: Option<&mut FileTree>,
depth: u8,
is_dir: bool
)
[src]
&mut self,
path: String,
size: FileSize,
subtree: Option<&mut FileTree>,
depth: u8,
is_dir: bool
)