MCPcopy Create free account
hub / github.com/couchbase/moss / Mutate

Method Mutate

segment.go:240–242  ·  view source on GitHub ↗

------------------------------------------------------

(operation uint64, key, val []byte)

Source from the content-addressed store, hash-verified

238// ------------------------------------------------------
239
240func (a *segment) Mutate(operation uint64, key, val []byte) error {
241 return a.mutate(operation, key, val)
242}
243
244func (a *segment) mutate(operation uint64, key, val []byte) error {
245 keyStart := len(a.buf)

Callers

nothing calls this directly

Calls 1

mutateMethod · 0.95

Tested by

no test coverage detected