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

Method is_empty

atomic-agent/src/event.rs:517–519  ·  view source on GitHub ↗

Returns `true` if no files changed during this turn. An empty turn produces no Atomic change — the orchestrator silently skips recording.

(&self)

Source from the content-addressed store, hash-verified

515 /// An empty turn produces no Atomic change — the orchestrator
516 /// silently skips recording.
517 pub fn is_empty(&self) -> bool {
518 self.modified.is_empty() && self.added.is_empty() && self.deleted.is_empty()
519 }
520
521 /// Returns the total number of files affected (modified + added + deleted).
522 pub fn file_count(&self) -> usize {

Callers 15

is_duplicateFunction · 0.45
has_promptMethod · 0.45
build_files_and_metadataFunction · 0.45
extract_session_shortFunction · 0.45
has_promptMethod · 0.45
summaryMethod · 0.45
extract_interfaceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected