()
| 92 | } |
| 93 | |
| 94 | func (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. |
| 99 | func processFragments(fragments []client.SyncFragment) (syncList, error) { |