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

Method SetClient

inventory/direct_link.go:40–42  ·  view source on GitHub ↗
(newClient *ent.Client)

Source from the content-addressed store, hash-verified

38}
39
40func (c *directLinkClient) SetClient(newClient *ent.Client) TxOperator {
41 return &directLinkClient{client: newClient, hasher: c.hasher, maxSQlParam: c.maxSQlParam}
42}
43
44func (c *directLinkClient) GetClient() *ent.Client {
45 return c.client

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected