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

Function term_value

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

Source from the content-addressed store, hash-verified

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

Callers 1

validate_ntriplesFunction · 0.85

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected