print_folder_tree

Function print_folder_tree 

Source
pub fn print_folder_tree<P: AsRef<Path>>(path: P)
Expand description

Print the folder tree structure starting from the specified path.

§Arguments

§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"));