Pathio

#

Crate adding PathTree, a special type immitating UNIX file system for storing any generic type <T>.

=== Description ===

It is created by daisy chaining HashMaps. It splits data into directories, which can store <T> or nest subdirectories.

```rust use pathio::PathTree;

let mut tree: PathTree = PathTree::new("FileSystem");

tree.createdirectory("NewFolder").unwrap(); tree.createdirectory("NewFolder/Strings").unwrap(); tree.createdirectory("CoolFolder").unwrap();

tree.insertfile("Hello World!".tostring(), "New_Folder/Strings/text.txt").unwrap();

println!("{}", tree.list());

```

Console output:

```

FileSystem |-> CoolFolder |-> NewFolder | |-> Strings | | |-> text.txt ```

=== Contributing ===

Any contribution submitted by you will be dual licensed as mentioned below, without any additional terms or conditions.

=== Licensing ===

Released under both APACHE and MIT licenses, for the sake of compatibility with other projects. Pick one that suits you the most!