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

Method with_mtime

atomic-core/src/record/context.rs:754–757  ·  view source on GitHub ↗

Set the modification time.

(mut self, mtime: std::time::SystemTime)

Source from the content-addressed store, hash-verified

752
753 /// Set the modification time.
754 pub fn with_mtime(mut self, mtime: std::time::SystemTime) -> Self {
755 self.mtime = Some(mtime);
756 self
757 }
758}
759
760// TESTS

Calls

no outgoing calls