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

Method with_mode

atomic-repository/src/archive.rs:456–459  ·  view source on GitHub ↗

Set the file mode.

(mut self, mode: u32)

Source from the content-addressed store, hash-verified

454
455 /// Set the file mode.
456 pub fn with_mode(mut self, mode: u32) -> Self {
457 self.mode = mode;
458 self
459 }
460
461 /// Set the modification time.
462 pub fn with_mtime(mut self, mtime: DateTime<Utc>) -> Self {

Callers 1

Calls

no outgoing calls

Tested by 1