MCPcopy
hub / github.com/etcd-io/etcd / snapDir

Function snapDir

tools/etcd-dump-db/backend.go:33–35  ·  view source on GitHub ↗
(dataDir string)

Source from the content-addressed store, hash-verified

31)
32
33func snapDir(dataDir string) string {
34 return filepath.Join(dataDir, "member", "snap")
35}
36
37func getBuckets(dbPath string) (buckets []string, err error) {
38 db, derr := bolt.Open(dbPath, 0o600, &bolt.Options{Timeout: flockTimeout})

Callers 4

listBucketCommandFuncFunction · 0.70
iterateBucketCommandFuncFunction · 0.70
scanKeysCommandFuncFunction · 0.70
getHashCommandFuncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…