Skip to main content

add_dependency

Function add_dependency 

Source
pub fn add_dependency(
    conn: &Connection,
    source_id: i64,
    target_id: i64,
    dep_type: &str,
) -> Result<()>
Expand description

Insert a dependency edge: source_id depends on target_id.

dep_type should be one of: depends_on, depended_by, supersedes, contradicts.