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

Function NewFileClient

ent/client.go:825–827  ·  view source on GitHub ↗

NewFileClient returns a client for the File from the given config.

(c config)

Source from the content-addressed store, hash-verified

823
824// NewFileClient returns a client for the File from the given config.
825func NewFileClient(c config) *FileClient {
826 return &FileClient{config: c}
827}
828
829// Use adds a list of mutation hooks to the hooks stack.
830// A call to `Use(f, g, h)` equals to `file.Hooks(f(g(h())))`.

Callers 13

QueryOwnerMethod · 0.70
QueryStoragePoliciesMethod · 0.70
QueryParentMethod · 0.70
QueryChildrenMethod · 0.70
QueryMetadataMethod · 0.70
QueryEntitiesMethod · 0.70
QuerySharesMethod · 0.70
QueryDirectLinksMethod · 0.70
UpdateMethod · 0.70
initMethod · 0.70
initMethod · 0.70
TxMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected