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

Method SetClient

inventory/share.go:99–101  ·  view source on GitHub ↗
(newClient *ent.Client)

Source from the content-addressed store, hash-verified

97}
98
99func (c *shareClient) SetClient(newClient *ent.Client) TxOperator {
100 return &shareClient{client: newClient, hasher: c.hasher, maxSQlParam: c.maxSQlParam}
101}
102
103func (c *shareClient) GetClient() *ent.Client {
104 return c.client

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected