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

Method is_empty

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

906 /// An empty turn produces no Atomic change — the orchestrator
907 /// silently skips recording.
908 pub fn is_empty(&self) -> bool {
909 self.modified.is_empty() && self.added.is_empty() && self.deleted.is_empty()
910 }
911
912 /// Returns the total number of files affected (modified + added + deleted).
913 pub fn file_count(&self) -> usize {

Callers 15

usableFunction · 0.45
on_eventMethod · 0.45
is_duplicateFunction · 0.45
build_files_and_metadataFunction · 0.45
extract_session_shortFunction · 0.45
has_promptMethod · 0.45
validateMethod · 0.45

Calls

no outgoing calls