[−][src]Function env_substitute::substitute
pub fn substitute(path: PathBuf) -> PathBuf
Takes a path, finds any components that begin with a $
and then attempts to
substitute the remainder of the component with an environment variable named
with that remainder.
An attempt to duplicate the functionality of shells.