MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / write

Function write

tests/core_cli_suite/monitor_test.rs:5–7  ·  view source on GitHub ↗

Helper: write an entry to a specific mmap dir.

(dir: &Path, project: &Path, prefix: &str, tool: &str, delta: u64, before: u64)

Source from the content-addressed store, hash-verified

3
4/// Helper: write an entry to a specific mmap dir.
5fn write(dir: &Path, project: &Path, prefix: &str, tool: &str, delta: u64, before: u64) {
6 tracedecay::monitor::write_entry_to(dir, project, prefix, tool, delta, before);
7}
8
9/// Helper: open reader at a specific mmap dir.
10fn reader(dir: &Path) -> tracedecay::monitor::MmapReader {

Callers 15

generate_skill_bundleFunction · 0.85
mainFunction · 0.85
build_queriesFunction · 0.85
reset_scratchFunction · 0.85
ensure_clonedFunction · 0.85
save_config_to_pathFunction · 0.85
add_to_gitignoreFunction · 0.85
make_projectFunction · 0.85
make_enrolled_projectFunction · 0.85

Calls 1

write_entry_toFunction · 0.85

Tested by

no test coverage detected