Skip to main content

remove

Function remove 

Source
pub fn remove(project: &Path, dir: &str, id: &str) -> Result<PathBuf, String>
Expand description

Remove an installed manifest and the wasm module it alone names.

A module another manifest in the same directory still names is kept. A builtin id is refused: the catalog ships it, and no project file owns it.