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

Method GetClient

inventory/file.go:255–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253}
254
255func (c *fileClient) GetClient() *ent.Client {
256 return c.client
257}
258
259func (f *fileClient) Update(ctx context.Context, file *ent.File) (*ent.File, error) {
260 q := f.client.File.UpdateOne(file).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected