MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / FileClient

Method FileClient

application/dependency/dependency.go:799–805  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

797}
798
799func (d *dependency) FileClient() inventory.FileClient {
800 if d.fileClient != nil {
801 return d.fileClient
802 }
803
804 return inventory.NewFileClient(d.DBClient(), d.ConfigProvider().Database().Type, d.HashIDEncoder())
805}
806
807func (d *dependency) ShareClient() inventory.ShareClient {
808 if d.shareClient != nil {

Callers

nothing calls this directly

Calls 5

DBClientMethod · 0.95
ConfigProviderMethod · 0.95
HashIDEncoderMethod · 0.95
NewFileClientFunction · 0.92
DatabaseMethod · 0.65

Tested by

no test coverage detected