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

Method is_empty

atomic-agent/src/event.rs:525–527  ·  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

523 /// An empty turn produces no Atomic change — the orchestrator
524 /// silently skips recording.
525 pub fn is_empty(&self) -> bool {
526 self.modified.is_empty() && self.added.is_empty() && self.deleted.is_empty()
527 }
528
529 /// Returns the total number of files affected (modified + added + deleted).
530 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