MCPcopy Index your code
hub / github.com/CodisLabs/codis / LockPath

Function LockPath

pkg/models/store.go:33–35  ·  view source on GitHub ↗
(product string)

Source from the content-addressed store, hash-verified

31}
32
33func LockPath(product string) string {
34 return filepath.Join(CodisDir, product, "topom")
35}
36
37func SlotPath(product string, sid int) string {
38 return filepath.Join(CodisDir, product, "slots", fmt.Sprintf("slot-%04d", sid))

Callers 2

LoadTopomFunction · 0.85
LockPathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected