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

Method Create

pkg/filemanager/lock/memlock.go:29–29  ·  view source on GitHub ↗
(now time.Time, details ...LockDetails)

Source from the content-addressed store, hash-verified

27// of host operating system convention.
28type LockSystem interface {
29 Create(now time.Time, details ...LockDetails) ([]string, error)
30 Unlock(now time.Time, tokens ...string) error
31 Confirm(now time.Time, requests LockInfo) (func(), string, error)
32 Refresh(now time.Time, duration time.Duration, token string) (LockDetails, error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected