pub fn delete(mana_dir: &Path, id: &str) -> Result<DeleteResult, Error>
Delete a unit and clean up dependency references.