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

Method LockSystem

application/dependency/dependency.go:876–883  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

874}
875
876func (d *dependency) LockSystem() lock.LockSystem {
877 if d.lockSystem != nil {
878 return d.lockSystem
879 }
880
881 d.lockSystem = lock.NewMemLS(d.HashIDEncoder(), d.Logger())
882 return d.lockSystem
883}
884
885func (d *dependency) StoragePolicyClient() inventory.StoragePolicyClient {
886 if d.storagePolicyClient != nil {

Callers

nothing calls this directly

Calls 3

HashIDEncoderMethod · 0.95
LoggerMethod · 0.95
NewMemLSFunction · 0.92

Tested by

no test coverage detected