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

Method add

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

Add a successfully collected file.

(&mut self, file: T)

Source from the content-addressed store, hash-verified

246
247 /// Add a successfully collected file.
248 pub fn add(&mut self, file: T) {
249 self.files.push(file);
250 }
251
252 /// Record an error for a path.
253 pub fn add_error(&mut self, path: impl Into<String>, error: impl Into<String>) {

Callers 5

collect_tracked_filesFunction · 0.45
collect_working_filesFunction · 0.45
collect_working_pathsFunction · 0.45

Calls 1

pushMethod · 0.45

Tested by 2