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

Method add_hook_branch_tracking

src/mcp/server.rs:2073–2085  ·  view source on GitHub ↗
(
        &self,
        root: &Path,
        branch: &str,
        cg: &TraceDecay,
    )

Source from the content-addressed store, hash-verified

2071 }
2072
2073 async fn add_hook_branch_tracking(
2074 &self,
2075 root: &Path,
2076 branch: &str,
2077 cg: &TraceDecay,
2078 ) -> Result<crate::branch::BranchAddOutcome> {
2079 crate::tracedecay::TraceDecay::add_branch_tracking_with_options(
2080 root,
2081 branch,
2082 cg.open_options(),
2083 )
2084 .await
2085 }
2086
2087 async fn run_hook_incremental_sync(&self, cg: Arc<TraceDecay>, agent: HookAgent) {
2088 let marker = hook_events::sync_marker_path(&cg.store_layout().data_root, agent);

Callers 1

run_hook_event_planMethod · 0.80

Calls 1

open_optionsMethod · 0.45

Tested by

no test coverage detected