Skip to main content

Crate dir_path_2_tree

Crate dir_path_2_tree 

Source

Structs§

Tree

Functions§

insert_path
Inserts a path (as dot-separated parts) into the tree structure (RECURSIVE VERSION)
insert_path_iterative
Inserts a path (as dot-separated parts) into the tree structure (ITERATIVE VERSION - Simple)
insert_path_iterative_with_stack
Inserts a path (as dot-separated parts) into the tree structure (ITERATIVE VERSION - Explicit Stack)
print_tree
Prints the tree structure with indentation based on depth (RECURSIVE VERSION)
print_tree_iterative
Prints the tree structure with indentation based on depth (ITERATIVE VERSION)
print_tree_safe
Prints the tree structure with indentation based on depth (SAFE RECURSIVE VERSION)
write_tree
Writes the tree with indentation based on depth (RECURSIVE VERSION)
write_tree_iterative
Writes the tree with indentation based on depth (ITERATIVE VERSION)
write_tree_safe
Writes the tree with indentation based on depth (SAFE RECURSIVE VERSION)