pub fn remove_dep(
mana_dir: &Path,
from_id: &str,
dep_id: &str,
) -> Result<DepRemoveResult, Error>Expand description
Remove a dependency: from_id no longer depends on dep_id.
§Errors
anyhow::Error— unit not found or dependency not present
§Example
use mana_core::api::remove_dep;
use std::path::Path;
remove_dep(Path::new("/project/.mana"), "3", "2").unwrap();