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

Method is_empty

atomic-repository/src/repository/views.rs:55–57  ·  view source on GitHub ↗

Check if the view is empty (has no changes).

(&self)

Source from the content-addressed store, hash-verified

53
54 /// Check if the view is empty (has no changes).
55 pub fn is_empty(&self) -> bool {
56 self.change_count == 0
57 }
58
59 /// Get a human-readable label for the view scope.
60 pub fn kind_label(&self) -> &str {

Calls

no outgoing calls