Skip to main content

remove

Function remove 

Source
pub fn remove(name: &str, model: &Path, force: bool) -> Result<Removed, String>
Expand description

Take a pack out of a model: its manifest and every node it provided. Refused (nothing is deleted) while another pack in the model requires it, while nodes of yours link to, sit under or are placed on its nodes, or while you have changed some of its nodes; force deletes anyway.