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

Method Snapshot

store_api.go:262–264  ·  view source on GitHub ↗

Snapshot creates a Snapshot to access this Store

()

Source from the content-addressed store, hash-verified

260
261// Snapshot creates a Snapshot to access this Store
262func (s *Store) Snapshot() (Snapshot, error) {
263 return s.snapshot()
264}
265
266func (s *Store) snapshot() (*Footer, error) {
267 s.m.Lock()

Callers 3

persistMethod · 0.95
openCollectionMethod · 0.95

Calls 1

snapshotMethod · 0.95