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

Function add

atomic-agent/src/record/tests.rs:1935–1942  ·  view source on GitHub ↗
(repo: &atomic_repository::Repository, wc: atomic_core::WorkingCopyId, path: &str)

Source from the content-addressed store, hash-verified

1933 .unwrap();
1934 }
1935 fn add(repo: &atomic_repository::Repository, wc: atomic_core::WorkingCopyId, path: &str) {
1936 repo.add(
1937 wc,
1938 path,
1939 atomic_repository::tracking::TrackingOptions::default(),
1940 )
1941 .unwrap();
1942 }
1943
1944 {
1945 let mut repo = atomic_repository::Repository::init(repo_root).unwrap();

Calls 2

unwrapMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected