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

Function NewGroupClient

ent/client.go:1238–1240  ·  view source on GitHub ↗

NewGroupClient returns a client for the Group from the given config.

(c config)

Source from the content-addressed store, hash-verified

1236
1237// NewGroupClient returns a client for the Group from the given config.
1238func NewGroupClient(c config) *GroupClient {
1239 return &GroupClient{config: c}
1240}
1241
1242// Use adds a list of mutation hooks to the hooks stack.
1243// A call to `Use(f, g, h)` equals to `group.Hooks(f(g(h())))`.

Callers 7

QueryUsersMethod · 0.70
QueryStoragePoliciesMethod · 0.70
UpdateMethod · 0.70
initMethod · 0.70
initMethod · 0.70
TxMethod · 0.70
BeginTxMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected