forc_pkg::manifest

Function find_within

Source
pub fn find_within(dir: &Path, pkg_name: &str) -> Option<PathBuf>
Expand description

Attempt to find a Forc.toml with the given project name within the given directory.

Returns the path to the package on success, or None in the case it could not be found.