()
| 634 | } |
| 635 | |
| 636 | func (s *SyncData) SyncIsEmpty() bool { |
| 637 | if s == nil { |
| 638 | return true |
| 639 | } |
| 640 | isEmpty := s.GetRevTreeID() == "" && len(s.History) == 0 && s.Sequence == 0 |
| 641 | return isEmpty |
| 642 | } |
| 643 | |
| 644 | // Converts the string hex encoding that's stored in the sync metadata to a uint64 cas value |
| 645 | func (s *SyncData) GetSyncCas() uint64 { |
no test coverage detected