Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwan/gohan
/ abortLock
Method
abortLock
sync/etcd/etcd.go:163–165 ·
view source on GitHub ↗
(path string)
Source
from the content-addressed store, hash-verified
161
}
162
163
func
(s *Sync) abortLock(path string) {
164
s.locks.Set(path, false)
165
}
166
167
//Unlock path
168
func
(s *Sync) Unlock(path string) error {
Callers
2
Lock
Method · 0.95
Unlock
Method · 0.95
Implementers
5
Sync
sync/etcd/etcd.go
MockSync
sync/mocks/sync_mock.go
MockSyncMockRecorder
sync/mocks/sync_mock.go
Sync
sync/noop/noop.go
Sync
sync/etcdv3/etcd.go
Calls
1
Set
Method · 0.65
Tested by
no test coverage detected