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

Method SetClient

inventory/oauth_client.go:74–76  ·  view source on GitHub ↗
(newClient *ent.Client)

Source from the content-addressed store, hash-verified

72}
73
74func (c *oauthClientClient) SetClient(newClient *ent.Client) TxOperator {
75 return &oauthClientClient{client: newClient, maxSQlParam: c.maxSQlParam}
76}
77
78func (c *oauthClientClient) GetClient() *ent.Client {
79 return c.client

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected