MCPcopy Index your code
hub / github.com/dearcode/candy / newUserDB

Function newUserDB

store/user.go:37–39  ·  view source on GitHub ↗
(root string)

Source from the content-addressed store, hash-verified

35}
36
37func newUserDB(root string) *userDB {
38 return &userDB{root: root}
39}
40
41func (u *userDB) start() error {
42 path := fmt.Sprintf("%s/%s", u.root, util.UserDBPath)

Callers 5

NewStoreFunction · 0.85
TestUserDBFunction · 0.85
TestUserLastMessageFunction · 0.85
TestUserMessageFunction · 0.85
TestUserMessageReverseFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestUserDBFunction · 0.68
TestUserLastMessageFunction · 0.68
TestUserMessageFunction · 0.68
TestUserMessageReverseFunction · 0.68