Skip to main content

nearest

Function nearest 

Source
pub fn nearest(
    here: &Path,
    ceiling: Option<&Path>,
) -> Result<Option<Found>, PointerError>
Expand description

The nearest library of here and the folders it is in, below ceiling: the folder whose .nib holds it, or the one that a .nib file names.

ยงErrors

Returns PointerError::Bad if the nearest .nib is a file that names no library that may be opened; nothing looks further, as the person meant that library.