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

Method SetClient

inventory/user.go:170–172  ·  view source on GitHub ↗
(newClient *ent.Client)

Source from the content-addressed store, hash-verified

168}
169
170func (c *userClient) SetClient(newClient *ent.Client) TxOperator {
171 return &userClient{client: newClient}
172}
173
174func (c *userClient) GetClient() *ent.Client {
175 return c.client

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected