relay-knowledge 1.1.16

Graph-database-based knowledge graph project.
Documentation
1
2
3
4
5
6
7
8
9
//! Classifies Cargo lockfile sources as external or workspace-local.

pub(super) fn cargo_lock_source_is_external(source: Option<&str>) -> bool {
    source.is_some_and(|source| {
        source.starts_with("registry+")
            || source.starts_with("git+")
            || source.starts_with("sparse+")
    })
}