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

Method open_default

atomic-identity/src/store.rs:387–390  ·  view source on GitHub ↗

Open or create the default identity store. The default location is `~/.atomic/identities/` in the user's home directory.

()

Source from the content-addressed store, hash-verified

385 ///
386 /// The default location is `~/.atomic/identities/` in the user's home directory.
387 pub fn open_default() -> Result<Self, IdentityError> {
388 let root = Self::default_store_path()?;
389 Self::open(&root)
390 }
391
392 /// Open or create an identity store at the specified path.
393 pub fn open(root: &Path) -> Result<Self, IdentityError> {

Callers

nothing calls this directly

Calls 1

openFunction · 0.85

Tested by

no test coverage detected