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

Method with_warning

atomic-repository/src/unrecord.rs:287–290  ·  view source on GitHub ↗

Add a warning.

(mut self, warning: impl Into<String>)

Source from the content-addressed store, hash-verified

285
286 /// Add a warning.
287 pub fn with_warning(mut self, warning: impl Into<String>) -> Self {
288 self.warnings.push(warning.into());
289 self
290 }
291
292 /// Set statistics.
293 pub fn with_stats(mut self, stats: UnrecordStats) -> Self {

Callers 1

Calls 1

pushMethod · 0.45

Tested by 1