PistonDevelopers/find_folder

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

find_folder Build Status

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 = "*"

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.