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

Function open_repo

atomic-cli/tests/it/graph_only_export_cb9b_test.rs:102–104  ·  view source on GitHub ↗
(root: &Path)

Source from the content-addressed store, hash-verified

100}
101
102fn open_repo(root: &Path) -> atomic_repository::Repository {
103 atomic_repository::Repository::open(root).unwrap()
104}
105
106fn init(root: &Path, home: &Path) {
107 fs::create_dir_all(home).unwrap();

Calls 2

openFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected