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