MCPcopy Index your code
hub / github.com/dnote/dnote / getLength

Method getLength

pkg/cli/cmd/sync/sync.go:94–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94func (l syncList) getLength() int {
95 return len(l.Notes) + len(l.Books) + len(l.ExpungedNotes) + len(l.ExpungedBooks)
96}
97
98// processFragments categorizes items in sync fragments into a sync list.
99func processFragments(fragments []client.SyncFragment) (syncList, error) {

Callers 2

fullSyncFunction · 0.80
stepSyncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected