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

Method cg_snapshot

src/mcp/server.rs:983–985  ·  view source on GitHub ↗

Clones out the currently served `TraceDecay` instance. The lock is held only for the clone, never across an await on the instance.

(&self)

Source from the content-addressed store, hash-verified

981 /// Clones out the currently served `TraceDecay` instance. The lock is
982 /// held only for the clone, never across an await on the instance.
983 async fn cg_snapshot(&self) -> Arc<TraceDecay> {
984 self.cg.read().await.clone()
985 }
986
987 async fn update_hook_workspace_route(
988 &self,

Callers 14

cgMethod · 0.80
persist_saved_tokensMethod · 0.80
maybe_sync_if_staleMethod · 0.80
shutdownMethod · 0.80
handle_tools_listMethod · 0.80
read_resource_filesMethod · 0.80

Calls 1

readMethod · 0.45