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

Method StoragePolicyClient

application/dependency/dependency.go:885–891  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

883}
884
885func (d *dependency) StoragePolicyClient() inventory.StoragePolicyClient {
886 if d.storagePolicyClient != nil {
887 return d.storagePolicyClient
888 }
889
890 return inventory.NewStoragePolicyClient(d.DBClient(), d.KV())
891}
892
893func (d *dependency) ThumbPipeline() thumb.Generator {
894 if d.thumbPipeline != nil {

Callers

nothing calls this directly

Calls 3

DBClientMethod · 0.95
KVMethod · 0.95
NewStoragePolicyClientFunction · 0.92

Tested by

no test coverage detected