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

Method SetClient

inventory/node.go:47–49  ·  view source on GitHub ↗
(newClient *ent.Client)

Source from the content-addressed store, hash-verified

45}
46
47func (c *nodeClient) SetClient(newClient *ent.Client) TxOperator {
48 return &nodeClient{client: newClient}
49}
50
51func (c *nodeClient) GetClient() *ent.Client {
52 return c.client

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected