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

Method ok

atomic-cli/tests/it/git_snapshot_lifecycle_regression.rs:49–53  ·  view source on GitHub ↗
(&self, program: &str, args: &[&str])

Source from the content-addressed store, hash-verified

47 }
48
49 fn ok(&self, program: &str, args: &[&str]) -> String {
50 let output = self.command(program, args);
51 assert!(output.status.success(), "{program} {args:?}: {output:?}");
52 String::from_utf8(output.stdout).unwrap()
53 }
54
55 fn atomic(&self, args: &[&str]) -> String {
56 self.ok(env!("CARGO_BIN_EXE_atomic"), args)

Callers 2

atomicMethod · 0.45
gitMethod · 0.45

Calls 2

commandMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected