Converts the string hex encoding that's stored in the sync metadata to a uint64 cas value
()
| 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 { |
| 646 | |
| 647 | if s.Cas == "" { |
| 648 | return 0 |
| 649 | } |
| 650 | |
| 651 | return base.HexCasToUint64(s.Cas) |
| 652 | } |
| 653 | |
| 654 | func HasUserXattrChanged(userXattr []byte, prevUserXattrHash string) bool { |
| 655 | // If hash is empty but userXattr is not empty an xattr has been added. Import |