8000 GitHub - andrewdavidmackenzie/simpath at v1.0.0
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andrewdavidmackenzie/simpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

simpath

A rust crate for simple path (like PATH and LD_PATH) use.

Other crates can create a simpath that loads from the path defined as an environment variable using:

let path = simppath::new("LD_PATH");
let file = path.find("filename");

##Methods Methods exist to find a file on the path as a PathBuf or as a URL with the "file:" scheme.

The path can be extended with additional directories to search in, but this won't affect the value of the environment variable that was loaded initially.

About

A rust crate for simple path (like PATH and LD_PATH) use

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0