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

Method with_size

atomic-core/src/record/detect.rs:564–567  ·  view source on GitHub ↗

Set the size for this change.

(mut self, size: u64)

Source from the content-addressed store, hash-verified

562
563 /// Set the size for this change.
564 pub fn with_size(mut self, size: u64) -> Self {
565 self.size = Some(size);
566 self
567 }
568
569 /// Set the mtime for this change.
570 pub fn with_mtime(mut self, mtime: SystemTime) -> Self {

Callers 1

Calls

no outgoing calls

Tested by 1