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

Function insertion

atomic-cli/tests/it/change_tree_test.rs:9–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7use std::{path::Path, process::Command};
8
9fn insertion() -> Insertion<Option<Hash>> {
10 Insertion {
11 predecessors: vec![],
12 successors: vec![],
13 flag: EdgeFlags::FOLDER,
14 start: ChangePosition::new(0),
15 end: ChangePosition::new(0),
16 inode: Position::new(None, ChangePosition::new(0)),
17 }
18}
19
20fn run(root: &Path, hash: &str, flags: &[&str]) -> String {
21 let output = Command::new(env!("CARGO_BIN_EXE_atomic"))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected