Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dropbox/godropbox
/ Lock
Method
Lock
container/concurrent/lockstore/store.go:119–121 ·
view source on GitHub ↗
(key string)
Source
from the content-addressed store, hash-verified
117
}
118
119
func
(p *_LockStoreImp) Lock(key string) {
120
p.lock(key, _Lock)
121
}
122
123
func
(p *_LockStoreImp) TryRLock(key string, timeout time.Duration) (success bool) {
124
return
p.tryLock(key, timeout, _RLock, _RUnlock)
Callers
nothing calls this directly
Calls
1
lock
Method · 0.95
Tested by
no test coverage detected