MCPcopy
hub / github.com/CodisLabs/codis / GroupPath

Function GroupPath

pkg/models/store.go:49–51  ·  view source on GitHub ↗
(product string, gid int)

Source from the content-addressed store, hash-verified

47}
48
49func GroupPath(product string, gid int) string {
50 return filepath.Join(CodisDir, product, "group", fmt.Sprintf("group-%04d", gid))
51}
52
53func ProxyPath(product string, token string) string {
54 return filepath.Join(CodisDir, product, "proxy", fmt.Sprintf("proxy-%s", token))

Callers 1

GroupPathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected