Skip to main content

find_config

Function find_config 

Source
pub fn find_config(start: &Path, filename: &str) -> Option<PathBuf>
Expand description

Walk up the directory tree from start, checking for filename at each level. Returns the full path to the file if found, or None if the root is reached without finding it.