fs-tree 0.2.2

Filesystem trie-like tree structure for commons operations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// This is a test for us to see what are the error messages this gives us.
//
use fs_tree::{util, FileTree};

fn main() {
    let path = "Cargo.toml";

    if let Err(err) = FileTree::collect_from_directory(path) {
        eprintln!("{}", err);
    }
    if let Err(err) = util::symlink_follow(path) {
        eprintln!("{}", err);
    }
}