tree_dir

Function tree_dir 

Source
pub async fn tree_dir(
    path: &str,
    max_depth: Option<usize>,
    show_hidden: bool,
) -> Result<String, AppError>
Expand description

Build a directory tree asynchronously.

Returns a JSON string containing the tree.