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

Function write

crates/flowtrace-cli/src/git.rs:497–500  ·  view source on GitHub ↗
(p: &Path, b: &[u8])

Source from the content-addressed store, hash-verified

495 use tempfile::tempdir;
496
497 fn write(p: &Path, b: &[u8]) {
498 fs::create_dir_all(p.parent().unwrap()).unwrap();
499 fs::write(p, b).unwrap();
500 }
501
502 #[test]
503 fn init_is_idempotent() {

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…