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

Method with_size

atomic-core/src/record/workflow/collect.rs:198–201  ·  view source on GitHub ↗

Set the file size.

(mut self, size: u64)

Source from the content-addressed store, hash-verified

196
197 /// Set the file size.
198 pub fn with_size(mut self, size: u64) -> Self {
199 self.size = Some(size);
200 self
201 }
202
203 /// Set the modification time.
204 pub fn with_mtime(mut self, mtime: SystemTime) -> Self {

Callers 2

Calls

no outgoing calls

Tested by 2