MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / CasToString

Function CasToString

base/util.go:1030–1032  ·  view source on GitHub ↗
(cas uint64)

Source from the content-addressed store, hash-verified

1028}
1029
1030func CasToString(cas uint64) string {
1031 return string(Uint64CASToLittleEndianHex(cas))
1032}
1033
1034func Uint64CASToLittleEndianHex(cas uint64) []byte {
1035 littleEndian := make([]byte, 8)

Callers 13

mutateSyncDataMethod · 0.92
mutateWithDedupeMethod · 0.92
TestVVObeyMouFunction · 0.92
TestVVMouImportFunction · 0.92
TestFeedImportFunction · 0.92
TestOnDemandImportFunction · 0.92
TestMetadataOnlyUpdateFunction · 0.92
MarshalJSONMethod · 0.92
updateAndReturnDocMethod · 0.92
TestResyncMouFunction · 0.92
TestSyncFnOnPushFunction · 0.92

Calls 1

Tested by 8

TestVVObeyMouFunction · 0.74
TestVVMouImportFunction · 0.74
TestFeedImportFunction · 0.74
TestOnDemandImportFunction · 0.74
TestMetadataOnlyUpdateFunction · 0.74
TestResyncMouFunction · 0.74
TestSyncFnOnPushFunction · 0.74
Test_resyncDocumentFunction · 0.74