MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / for_repo

Method for_repo

atomic-agent/src/turn/session.rs:954–956  ·  view source on GitHub ↗

Create a session store for a repository at the given root path. The sessions directory is `{repo_root}/.atomic/sessions/`.

(repo_root: &Path)

Source from the content-addressed store, hash-verified

952 ///
953 /// The sessions directory is `{repo_root}/.atomic/sessions/`.
954 pub fn for_repo(repo_root: &Path) -> AgentResult<Self> {
955 Self::new(repo_root.join(".atomic").join("sessions"))
956 }
957
958 /// Load every parseable session in the store (CB-12A: used by the
959 /// pre-commit capture hook to find active managed sessions).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected