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

Method UseHLV

rest/utilities_testing_blip_client.go:1830–1839  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1828}
1829
1830func (btc *BlipTesterClient) UseHLV() bool {
1831 for _, protocol := range btc.supportedSubprotocols {
1832 subProtocol, err := db.ParseSubprotocolString(protocol)
1833 require.NoError(btc.rt.TB(), err)
1834 if subProtocol >= db.CBMobileReplicationV4 {
1835 return true
1836 }
1837 }
1838 return false
1839}
1840
1841func (btc *BlipTesterClient) AssertOnBlipHistory(t *testing.T, msg *blip.Message, docVersion DocVersion) {
1842 subProtocol, err := db.ParseSubprotocolString(btc.supportedSubprotocols[0])

Callers 8

GetDocVersionMethod · 0.95
handleRevMethod · 0.45
handleNoRevMethod · 0.45
UseHLVMethod · 0.45

Calls 2

ParseSubprotocolStringFunction · 0.92
TBMethod · 0.65