fn new(name: &str, fs_type: FileTreeNodeType, details: FileDetails) -> FileTreeNode {
        Self {
            name: name.to_string(),
            fs_type,
            details,
            sub: Vec::<FileTreeNode>::new(),
        }
    }
// create a new FileTreeNode (either a Directory, File or Symlink)
create a new FileTreeNode (either a Directory, File or Symlink)
create a new FileTreeNode ( either a Directory File or Symlink )
fn new(name: &str, fs_type: FileTreeNodeType, details: FileDetails) -> FileTreeNode {
        Self {
            name: name.to_string(),
            fs_type,
            details,
            sub: Vec::<FileTreeNode>::new(),
        }
    }
fn new ( name : & str , fs_type : FileTreeNodeType , details : FileDetails ) -> FileTreeNode { Self { name : name . to_string ( ) , fs_type , details , sub : Vec :: < FileTreeNode > :: new ( ) , } }
create a new FileTreeNode (either a Directory, File or Symlink)
create a new FileTreeNode ( either a Directory File or Symlink )
name
&str
fs_type
FileTreeNodeType
details
FileDetails
name
&str
fs_type
FileTreeNodeType
details
FileDetails