find_folder

Crates.iofind_folder
lib.rsfind_folder
version0.3.0
sourcesrc
created_at2015-05-29 12:55:34.680847
updated_at2015-12-16 00:01:56.610782
descriptionA simple tool for finding the absolute path to a folder with a given name.
homepagehttps://github.com/PistonDevelopers/find_folder
repositoryhttps://github.com/PistonDevelopers/find_folder.git
max_upload_size
id2252
size7,403
publish (github:pistondevelopers:publish)

documentation

README

find_folder Build Status

A simple tool for finding the absolute path to a folder with a given name.

It looks like this:

extern crate find_folder;

use find_folder::Search;

fn main() {
    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:

[dependencies]
find_folder = "*"
Commit count: 15

cargo fmt