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

Function record

atomic-cli/tests/it/working_copy_preservation_test.rs:29–41  ·  view source on GitHub ↗
(root: &Path, message: &str)

Source from the content-addressed store, hash-verified

27}
28
29fn record(root: &Path, message: &str) {
30 run(
31 root,
32 &[
33 "record",
34 "-a",
35 "-m",
36 message,
37 "--author",
38 "Test <test@example.invalid>",
39 ],
40 );
41}
42
43fn history(root: &Path, view: &str) -> Value {
44 serde_json::from_str(&run(root, &["log", "--view", view, "--format", "json"])).unwrap()

Calls 1

runFunction · 0.70

Tested by

no test coverage detected