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

Function repo

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

A fresh repo+vault.

()

Source from the content-addressed store, hash-verified

378
379 /// A fresh repo+vault.
380 fn repo() -> (Repository, tempfile::TempDir) {
381 let dir = tempdir().unwrap();
382 let repo = Repository::init(dir.path()).unwrap();
383 repo.init_vault().unwrap();
384 (repo, dir)
385 }
386
387 /// Store a memory via the GENERIC vault path (as `memory write`/attest do).
388 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