walkup 1.0.0

Find file by walking up the directory tree
Documentation

Walk directories up

Crates.io License Crates.io Version Crates.io MSRV Safe Rust dependency status Documentation Downloads

Find file by walking up the directory tree.

How to use

use walkup::walk_up;
// parameters are start directory, file name
let res = walk_up ( "/usr/src/usr.bin/aucat/", "Makefile.inc" );
if let Some(path) = res {
   println!("Makefile.inc found at {}", path.display());
}

License

This is free and unencumbered software released into the public domain.

This code can be used under terms of CC0 or the Unlicense.

Unlicense logo