pub fn print_folder_tree<P: AsRef<Path>>(path: P)Expand description
Print the folder tree structure starting from the specified path.
§Arguments
path- The path to the folder to print (can be a&str,String,Path, orstd::path::PathBuf).
§Examples
§Using a string literal
use file_io::print_folder_tree;
print_folder_tree("src");§Using a Path reference
use file_io::print_folder_tree;
use std::path::Path;
print_folder_tree(Path::new("src"));