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

Function repo

atomic-cli/src/commands/memory/list.rs:388–393  ·  view source on GitHub ↗

A fresh repo+vault.

()

Source from the content-addressed store, hash-verified

386
387 /// A fresh repo+vault.
388 fn repo() -> (Repository, tempfile::TempDir) {
389 let dir = tempdir().unwrap();
390 let repo = Repository::init(dir.path()).unwrap();
391 repo.init_vault().unwrap();
392 (repo, dir)
393 }
394
395 /// Store a memory via the GENERIC vault path (as `memory write`/attest do).
396 fn store_memory(repo: &Repository, id: &str, kind: &str, about: &[&str], body: &str) {

Calls 3

unwrapMethod · 0.45
pathMethod · 0.45
init_vaultMethod · 0.45