MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / GetClient

Method GetClient

inventory/user.go:174–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172}
173
174func (c *userClient) GetClient() *ent.Client {
175 return c.client
176}
177
178func (c *userClient) ListPasskeys(ctx context.Context, uid int) ([]*ent.Passkey, error) {
179 return c.client.Passkey.Query().Where(passkey.UserID(uid)).All(ctx)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected