6 releases
Uses old Rust 2015
0.2.1 | Nov 16, 2018 |
---|---|
0.2.0 | Nov 16, 2018 |
0.1.3 | Nov 13, 2018 |
#10 in #traverse
4KB
67 lines
Detect
Traverse up diretories to look for files/folders by name.
An example, with the folder structure
./
├── bar/
├── baz/
├── file
└── foo/
├── norf/
└── qux/
└── file
running detect file
from ./foo/qux
would return ./foo/qux/file
while running it in ./foo/norf
would return ./file
.
detect
will try to traverse all the way up to /
Dependencies
~750KB