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

Method SetClient

inventory/group.go:59–61  ·  view source on GitHub ↗
(newClient *ent.Client)

Source from the content-addressed store, hash-verified

57}
58
59func (c *groupClient) SetClient(newClient *ent.Client) TxOperator {
60 return &groupClient{client: newClient, maxSQlParam: c.maxSQlParam, cache: c.cache}
61}
62
63func (c *groupClient) GetClient() *ent.Client {
64 return c.client

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected