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

Function OpenStore

store_api.go:247–249  ·  view source on GitHub ↗

-------------------------------------------------------- OpenStore returns a store instance for a directory. An empty directory results in an empty store.

(dir string, options StoreOptions)

Source from the content-addressed store, hash-verified

245// OpenStore returns a store instance for a directory. An empty
246// directory results in an empty store.
247func OpenStore(dir string, options StoreOptions) (*Store, error) {
248 return openStore(dir, options)
249}
250
251// Dir returns the directory for this store
252func (s *Store) Dir() string {

Callers 7

closeReopenFuncFunction · 0.85
OpenStoreCollectionFunction · 0.85
TestOpenEmptyStoreFunction · 0.85
testSimpleStoreExFunction · 0.85
testStoreOpsFunction · 0.85
testStoreCompactionFunction · 0.85
testChildCollectionsFunction · 0.85

Calls 1

openStoreFunction · 0.85

Tested by 5

TestOpenEmptyStoreFunction · 0.68
testSimpleStoreExFunction · 0.68
testStoreOpsFunction · 0.68
testStoreCompactionFunction · 0.68
testChildCollectionsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…