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

Method defer_deletion

atomic-repository/src/tracking/mod.rs:347–349  ·  view source on GitHub ↗

Record a path whose untracking was deferred to a recorded delete.

(&mut self, path: PathBuf)

Source from the content-addressed store, hash-verified

345
346 /// Record a path whose untracking was deferred to a recorded delete.
347 pub fn defer_deletion(&mut self, path: PathBuf) {
348 self.pending_deletions.push(path);
349 }
350
351 /// Whether any recorded path was marked pending-untrack with bytes kept.
352 pub fn has_pending_untracks(&self) -> bool {

Callers 1

removeMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected