Function forc_util::find_manifest_dir_with_check
source · pub fn find_manifest_dir_with_check<F>(
starter_path: &Path,
f: F
) -> Option<PathBuf>where
F: Fn(&Path) -> bool,
Expand description
Continually go up in the file tree until a Forc manifest file is found and given predicate returns true.