MCPcopy Create free account
hub / github.com/AIScientists-Dev/Flowtrace / load_trace

Function load_trace

crates/flowtrace-cli/src/main.rs:647–653  ·  view source on GitHub ↗
(root: &Path)

Source from the content-addressed store, hash-verified

645}
646
647fn load_trace(root: &Path) -> Result<Trace> {
648 let path = root.join("trace.json");
649 let bytes = fs::read(&path).with_context(|| format!("reading {}", path.display()))?;
650 let r: Trace = serde_json::from_slice(&bytes)
651 .with_context(|| format!("parsing {}", path.display()))?;
652 Ok(r)
653}

Callers 4

cmd_validateFunction · 0.85
cmd_lintFunction · 0.85
cmd_showFunction · 0.85
cmd_stepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…