Name: find_folder
Owner: PistonDevelopers
Description: A simple function for searching for a folder with a given name from the current working directory.
Created: 2015-05-29 11:49:39.0
Updated: 2018-04-15 16:13:40.0
Pushed: 2015-10-23 08:24:59.0
Homepage: null
Size: 183
Language: Rust
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A simple tool for finding the absolute path to a folder with a given name.
It looks like this:
rn crate find_folder;
find_folder::Search;
ain() {
println!("{:?}", Search::Parents(3).for_folder("src"));
println!("{:?}", Search::Kids(3).for_folder("examples"));
println!("{:?}", Search::Both(3, 3).for_folder("target"));
You can add it to your project by adding this to your Cargo.toml:
endencies]
_folder = "*"