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

Method with_duration

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

Set the duration.

(mut self, ms: u64)

Source from the content-addressed store, hash-verified

611
612 /// Set the duration.
613 pub fn with_duration(mut self, ms: u64) -> Self {
614 self.duration_ms = ms;
615 self
616 }
617
618 /// Add a warning.
619 pub fn with_warning(mut self, warning: impl Into<String>) -> Self {

Callers 1

archiveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected