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

Method record_error

atomic-core/src/output/repo/tree.rs:716–718  ·  view source on GitHub ↗

Record an error.

(&mut self, path: String, error: String)

Source from the content-addressed store, hash-verified

714
715 /// Record an error.
716 pub fn record_error(&mut self, path: String, error: String) {
717 self.errors.push((path, error));
718 }
719
720 /// Check if any errors occurred.
721 pub fn has_errors(&self) -> bool {

Callers 3

collect_treeFunction · 0.45
test_result_record_errorFunction · 0.45
test_result_has_errorsFunction · 0.45

Calls 1

pushMethod · 0.45

Tested by 2

test_result_record_errorFunction · 0.36
test_result_has_errorsFunction · 0.36