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

Function examples_dir

crates/flowtrace-core/src/schema.rs:135–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 use std::path::PathBuf;
134
135 fn examples_dir() -> Option<PathBuf> {
136 // crate dir → workspace root/scripts/examples
137 let crate_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
138 let ws_root = crate_dir.parent()?.parent()?;
139 let dir = ws_root.join("scripts/examples");
140 dir.is_dir().then_some(dir)
141 }
142
143 #[test]
144 fn all_example_traces_round_trip() {

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…