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

Method record_error

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

Record an error.

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

Source from the content-addressed store, hash-verified

709
710 /// Record an error.
711 pub fn record_error(&mut self, path: String, error: String) {
712 self.errors.push((path, error));
713 }
714
715 /// Check if any errors occurred.
716 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