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

Method exceeds_max_size

atomic-core/src/record/workflow/detect/mod.rs:275–277  ·  view source on GitHub ↗
(&self, size: usize)

Source from the content-addressed store, hash-verified

273 /// Check if a file size exceeds the max diff size.
274 #[must_use]
275 pub fn exceeds_max_size(&self, size: usize) -> bool {
276 self.max_diff_size.is_some_and(|max| size > max)
277 }
278}
279
280impl Default for DetectionOptions {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected