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

Function atomic

atomic-cli/tests/it/intent_attest_external_signer_test.rs:12–20  ·  view source on GitHub ↗
(home: &Path, cwd: &Path, args: &[&str])

Source from the content-addressed store, hash-verified

10use atomic_identity::{Identity, IdentityStore, IdentityType, IdentityUsage, KeyPair};
11
12fn atomic(home: &Path, cwd: &Path, args: &[&str]) -> Output {
13 Command::new(env!("CARGO_BIN_EXE_atomic"))
14 .args(args)
15 .current_dir(cwd)
16 .env("HOME", home)
17 .env("ATOMIC_CONFIG_DIR", home.join(".atomic"))
18 .output()
19 .unwrap()
20}
21
22fn ok(out: &Output) -> String {
23 assert!(

Calls 2

unwrapMethod · 0.45
outputMethod · 0.45

Tested by

no test coverage detected