MCPcopy 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
163func (s *Sync) abortLock(path string) {
164 s.locks.Set(path, false)
165}
166
167//Unlock path
168func (s *Sync) Unlock(path string) error {

Callers 2

LockMethod · 0.95
UnlockMethod · 0.95

Implementers 5

Syncsync/etcd/etcd.go
MockSyncsync/mocks/sync_mock.go
MockSyncMockRecordersync/mocks/sync_mock.go
Syncsync/noop/noop.go
Syncsync/etcdv3/etcd.go

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected