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

Function SlotPath

pkg/models/store.go:37–39  ·  view source on GitHub ↗
(product string, sid int)

Source from the content-addressed store, hash-verified

35}
36
37func SlotPath(product string, sid int) string {
38 return filepath.Join(CodisDir, product, "slots", fmt.Sprintf("slot-%04d", sid))
39}
40
41func GroupDir(product string) string {
42 return filepath.Join(CodisDir, product, "group")

Callers 1

SlotPathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected