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

Method SetClient

inventory/task.go:83–85  ·  view source on GitHub ↗
(newClient *ent.Client)

Source from the content-addressed store, hash-verified

81}
82
83func (c *taskClient) SetClient(newClient *ent.Client) TxOperator {
84 return &taskClient{client: newClient, maxSQlParam: c.maxSQlParam, hasher: c.hasher}
85}
86
87func (c *taskClient) GetClient() *ent.Client {
88 return c.client

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected