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

Method vacate_binding

atomic-core/src/record/workflow/globalize/context.rs:146–151  ·  view source on GitHub ↗

Register a binding removed by the same atomic change. A new parent directory at that path must receive a distinct graph identity.

(&mut self, path: &str, inode: Inode)

Source from the content-addressed store, hash-verified

144 /// Register a binding removed by the same atomic change. A new parent
145 /// directory at that path must receive a distinct graph identity.
146 pub fn vacate_binding(&mut self, path: &str, inode: Inode) {
147 self.vacated_bindings
148 .entry(path.to_owned())
149 .or_default()
150 .insert(inode);
151 }
152
153 /// Seed closure-projected path identity bindings (see
154 /// [`super::ProjectedPathBinding`]).

Callers 1

assemble_changeFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected