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

Method with_zombie

atomic-core/src/output/mod.rs:386–389  ·  view source on GitHub ↗

Set this item as a zombie (deleted but with live content).

(mut self, changes: Vec<Hash>)

Source from the content-addressed store, hash-verified

384
385 /// Set this item as a zombie (deleted but with live content).
386 pub fn with_zombie(mut self, changes: Vec<Hash>) -> Self {
387 self.is_zombie = Some(changes);
388 self
389 }
390
391 /// Set custom metadata.
392 pub fn with_metadata(mut self, metadata: FileMetadata) -> Self {

Callers 1

Calls

no outgoing calls

Tested by 1