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

Method GetClient

inventory/node.go:51–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func (c *nodeClient) GetClient() *ent.Client {
52 return c.client
53}
54
55func (c *nodeClient) ListActiveNodes(ctx context.Context, subset []int) ([]*ent.Node, error) {
56 stm := c.client.Node.Query().Where(node.StatusEQ(node.StatusActive))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected