Skip to main content

search_root

Function search_root 

Source
pub fn search_root(
    browsing: Option<&PathBuf>,
    network_check: fn(&Path) -> bool,
) -> Option<PathBuf>
Expand description

Where a search should start, given where the user is.

None when there is nothing sensible to search: no working directory, or one on a filesystem that must not be walked.