Skip to main content

settle

Function settle 

Source
pub fn settle(
    root: &Path,
    library: &Path,
    ceiling: Option<&Path>,
) -> Result<Settled, PointerError>
Expand description

Settles the .nib file in the tree’s folder root, as commands there need it to find the library in library: writes the file that names it where they would not find it otherwise, as needed says, and else takes away what they would read as one, such as a file copied with the folder, which would take them over; of a link to a file, the link goes, not what it links to. A folder in its place stays, such as the library’s own where the tree’s folder is the library’s.

§Errors

Returns PointerError::InTheWay if a file is needed and something else is in its place, and PointerError::NotWritten or PointerError::NotTakenAway if the file system fails.