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

Method is_in_sync

atomic-remote/src/sync.rs:382–387  ·  view source on GitHub ↗

Check if everything is in sync (no changes to transfer).

(&self)

Source from the content-addressed store, hash-verified

380
381 /// Check if everything is in sync (no changes to transfer).
382 pub fn is_in_sync(&self) -> bool {
383 self.to_download.is_empty()
384 && self.ours_ge_dichotomy.is_empty()
385 && self.theirs_ge_dichotomy.is_empty()
386 && self.remote_unrecords.is_empty()
387 }
388
389 /// Total number of items that need to be transferred.
390 pub fn transfer_count(&self) -> usize {

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected