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

Function command

atomic-cli/tests/it/compact_service_integration_test.rs:8–20  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

6use serde_json::Value;
7
8fn command(path: &Path) -> Command {
9 let mut command = Command::new(env!("CARGO_BIN_EXE_atomic"));
10 command
11 .args(["compact", "--repository"])
12 .arg(path)
13 .arg("--json")
14 .env("ATOMIC_SERVICE", "local")
15 .env_remove("ATOMIC_RPC")
16 .env("ATOMIC_DB_LOCK_WAIT_MS", "100")
17 .env("ATOMIC_DAEMON_BIN", path.join("no-daemon-binary"))
18 .env("ATOMIC_DAEMON_SOCKET", path.join("no-daemon.socket"));
19 command
20}
21
22fn report(output: Output) -> Value {
23 assert!(

Calls

no outgoing calls

Tested by

no test coverage detected