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

Method Remove

base/leaky_datastore.go:150–152  ·  view source on GitHub ↗
(k string, cas uint64)

Source from the content-addressed store, hash-verified

148 return lds.dataStore.Delete(k)
149}
150func (lds *LeakyDataStore) Remove(k string, cas uint64) (casOut uint64, err error) {
151 return lds.dataStore.Remove(k, cas)
152}
153func (lds *LeakyDataStore) WriteCas(k string, exp uint32, cas uint64, v interface{}, opt sgbucket.WriteOptions) (uint64, error) {
154 return lds.dataStore.WriteCas(k, exp, cas, v, opt)
155}

Callers

nothing calls this directly

Calls 1

RemoveMethod · 0.65

Tested by

no test coverage detected