Skip to main content

remove_dependency

Function remove_dependency 

Source
pub async fn remove_dependency(
    project_dir: &Path,
    id: &ItemId,
    dep: &ItemId,
) -> Result<BacklogItem>
Expand description

Remove dependency dep from PBI id and return the saved BacklogItem.

Return Error::NotFound when dep is not present or id does not exist, and Error::NotInitialized for an uninitialized board.