MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / qualified

Function qualified

atomic-core/src/kg/iri.rs:85–87  ·  view source on GitHub ↗
(project: &ProjectId, kind: &str, value: &str, path: bool)

Source from the content-addressed store, hash-verified

83);
84
85fn qualified(project: &ProjectId, kind: &str, value: &str, path: bool) -> String {
86 format!("{}:{kind}:{}", project.to_urn(), encode(value, path))
87}
88
89fn parse_qualified<'a>(iri: &'a str, kind: &str) -> Result<(ProjectId, &'a str), IriError> {
90 let rest = iri

Callers 1

mint_intentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected