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

Method edit

atomic-repository/tests/it/remote_cache_parity_test.rs:76–79  ·  view source on GitHub ↗

Apply the same edit to both working trees.

(&self, f: impl Fn(&Path))

Source from the content-addressed store, hash-verified

74
75 /// Apply the same edit to both working trees.
76 fn edit(&self, f: impl Fn(&Path)) {
77 f(self.host_root());
78 f(self.cache_root());
79 }
80
81 /// Hydrate canonical graph data without changing the working files.
82 fn hydrate(&self, view: &str, live: &BTreeMap<u64, String>) {

Calls 2

host_rootMethod · 0.80
cache_rootMethod · 0.80

Tested by

no test coverage detected