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

Method record_skip

atomic-core/src/output/repo/outcome.rs:270–272  ·  view source on GitHub ↗

Record a skipped file. # Arguments `path` - The path of the file that was skipped # Example ```rust use atomic_core::output::repo::OutputOutcome; let mut outcome = OutputOutcome::new(); outcome.record_skip("unchanged.txt"); assert_eq!(outcome.files_skipped(), 1); ```

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

Source from the content-addressed store, hash-verified

268 /// assert_eq!(outcome.files_skipped(), 1);
269 /// ```
270 pub fn record_skip(&mut self, path: impl Into<String>) {
271 self.skipped.push(path.into());
272 }
273
274 /// Record redundant edges found during output.
275 ///

Callers 7

test_record_skipFunction · 0.45
test_iter_skippedFunction · 0.45
test_merge_skippedFunction · 0.45
test_summary_skippedFunction · 0.45
test_summary_combinedFunction · 0.45
to_outcomeMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by 6

test_record_skipFunction · 0.36
test_iter_skippedFunction · 0.36
test_merge_skippedFunction · 0.36
test_summary_skippedFunction · 0.36
test_summary_combinedFunction · 0.36