burrow 0.1.0

High-performance filesystem indexer and in-memory FS structure representation
Documentation
use burrow::Burrow;

fn main() {
  let paths = &["/home/lncn/Downloads", "test"];
  if let Ok(bur) = Burrow::index_many(paths, false) {
    for e in bur {
      match e {
        Burrow::Dir(n, sub) => {
          println!("{n}");
          for s in sub {
            println!("'- {}", s.name());
          }
        }
        Burrow::File(n) => {
          println!("{n}")
        }
      }
    }
  }
}