MCPcopy Create free account
hub / github.com/eventuallyconsultant/codegenr / get_ref_name

Function get_ref_name

codegenr/src/resolver.rs:165–167  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

163
164fn fetch_reference_value(json: &Value, path: &Option<String>) -> Result<Value, ResolverError> {
165 match path {
166 Some(p) => {
167 let parts = p.split(PATH_SEP);
168 let mut part = json;
169 for p in parts.filter(|p| !p.trim().is_empty()) {
170 if let Value::Object(o) = part {

Callers 1

resolve_refs_recurseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected