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

Function term_value

atomic-shacl/src/lib.rs:111–116  ·  view source on GitHub ↗
(term: &Term)

Source from the content-addressed store, hash-verified

109}
110
111fn term_value(term: &Term) -> String {
112 match term {
113 Term::NamedNode(node) => node.as_str().to_owned(),
114 _ => term.to_string(),
115 }
116}
117
118fn path_json(path: &ShapePath) -> Value {
119 match path {

Callers 1

validate_ntriplesFunction · 0.85

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected