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

Method SetClient

inventory/file.go:251–253  ·  view source on GitHub ↗
(newClient *ent.Client)

Source from the content-addressed store, hash-verified

249}
250
251func (c *fileClient) SetClient(newClient *ent.Client) TxOperator {
252 return &fileClient{client: newClient, maxSQlParam: c.maxSQlParam, hasher: c.hasher}
253}
254
255func (c *fileClient) GetClient() *ent.Client {
256 return c.client

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected