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

Method AllocMerge

api.go:359–359  ·  view source on GitHub ↗

AllocMerge is like Merge(), but the caller must provide []byte parameters that came from Alloc().

(keyFromAlloc, valFromAlloc []byte)

Source from the content-addressed store, hash-verified

357 // AllocMerge is like Merge(), but the caller must provide []byte
358 // parameters that came from Alloc().
359 AllocMerge(keyFromAlloc, valFromAlloc []byte) error
360
361 // NewChildCollectionBatch returns a new Batch instance with preallocated
362 // resources for a specific child collection given its unique name.

Callers 1

TestAllocCollectionFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestAllocCollectionFunction · 0.76