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

Method add_error

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

Record an error for a path.

(&mut self, path: impl Into<String>, error: impl Into<String>)

Source from the content-addressed store, hash-verified

251
252 /// Record an error for a path.
253 pub fn add_error(&mut self, path: impl Into<String>, error: impl Into<String>) {
254 self.errors.push((path.into(), error.into()));
255 }
256
257 /// Record a skipped file.
258 pub fn add_skipped(&mut self) {

Callers 2

collect_tracked_filesFunction · 0.45

Calls 1

pushMethod · 0.45

Tested by 1