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

Method Attachments

db/document.go:1460–1462  ·  view source on GitHub ↗

Attachments returns the attachments for the document.

()

Source from the content-addressed store, hash-verified

1458
1459// Attachments returns the attachments for the document.
1460func (d *Document) Attachments() AttachmentsMeta {
1461 return d._globalSync.Attachments
1462}
1463
1464// unmarshalRevSeqNo unmarshals the rev seq number from the provided bytes, expects a string representation of the uint64.
1465func unmarshalRevSeqNo(revSeqNoBytes []byte) (uint64, error) {

Callers 15

unmarshalDocumentFunction · 0.95
MarshalJSONMethod · 0.95
UnmarshalWithXattrsMethod · 0.95
MarshalWithXattrsMethod · 0.95
PutMethod · 0.95
processRevMethod · 0.95
CreateDocNoHLVMethod · 0.95

Calls

no outgoing calls