MCPcopy Create free account
hub / github.com/AI45Lab/Code / provenance

Method provenance

core/src/context/mod.rs:267–271  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

265 }
266
267 pub fn provenance(&self) -> Option<&str> {
268 self.metadata
269 .get(CONTEXT_PROVENANCE_METADATA)
270 .and_then(serde_json::Value::as_str)
271 }
272
273 pub fn priority(&self) -> f32 {
274 metadata_score(self.metadata.get(CONTEXT_PRIORITY_METADATA))

Callers 1

source_policy_keyFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected