Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ UpdateBodyBytes
Method
UpdateBodyBytes
db/document.go:313–316 ·
view source on GitHub ↗
(bodyBytes []byte)
Source
from the content-addressed store, hash-verified
311
}
312
313
func
(doc *Document) UpdateBodyBytes(bodyBytes []byte) {
314
doc._rawBody = bodyBytes
315
doc._body = nil
316
}
317
318
func
(doc *Document) UpdateBody(body Body) {
319
doc._body = body
Callers
4
handlePutDocReplicator2
Method · 0.95
TestOnDemandImport
Function · 0.95
BenchmarkHandleRevDelta
Function · 0.95
processRev
Method · 0.95
Calls
no outgoing calls
Tested by
2
TestOnDemandImport
Function · 0.76
BenchmarkHandleRevDelta
Function · 0.76