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

Method has_ai_content

atomic-core/src/change/credit.rs:678–680  ·  view source on GitHub ↗

Check if the file has any AI-involved content.

(&self)

Source from the content-addressed store, hash-verified

676
677 /// Check if the file has any AI-involved content.
678 pub fn has_ai_content(&self) -> bool {
679 self.ranges.iter().any(|r| r.credit.involves_ai())
680 }
681
682 /// Get all ranges involving AI.
683 pub fn ai_ranges(&self) -> Vec<&CreditRange> {

Callers

nothing calls this directly

Calls 2

involves_aiMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected