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

Method count

atomic-repository/src/unrecord.rs:299–301  ·  view source on GitHub ↗

Get the number of changes unrecorded.

(&self)

Source from the content-addressed store, hash-verified

297
298 /// Get the number of changes unrecorded.
299 pub fn count(&self) -> usize {
300 self.unrecorded.len()
301 }
302
303 /// Check if anything was unrecorded.
304 pub fn has_changes(&self) -> bool {

Callers 15

parseMethod · 0.45
hunks_from_changed_linesFunction · 0.45
jaccardFunction · 0.45
build_hunks_from_diffFunction · 0.45
modified_countMethod · 0.45
deleted_countMethod · 0.45
pending_untrack_countMethod · 0.45
untracked_countMethod · 0.45
added_countMethod · 0.45
conflicted_countMethod · 0.45
type_changed_countMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by 2