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

Method is_empty

atomic-core/src/record/context.rs:504–506  ·  view source on GitHub ↗

Check if the builder is empty (no changes recorded). # Returns `true` if no hunks have been recorded yet.

(&self)

Source from the content-addressed store, hash-verified

502 ///
503 /// `true` if no hunks have been recorded yet.
504 pub fn is_empty(&self) -> bool {
505 self.builder.is_empty()
506 }
507
508 /// Get the number of hunks recorded so far.
509 ///

Callers 5

matches_prefixMethod · 0.45
has_changesMethod · 0.45
has_errorsMethod · 0.45
is_binary_contentFunction · 0.45
is_rootMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected