Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CodisLabs/codis
/ Acquire
Method
Acquire
pkg/models/store.go:118–120 ·
view source on GitHub ↗
(topom *Topom)
Source
from the content-addressed store, hash-verified
116
}
117
118
func
(s *Store) Acquire(topom *Topom) error {
119
return
s.client.Create(s.LockPath(), topom.Encode())
120
}
121
122
func
(s *Store) Release() error {
123
return
s.client.Delete(s.LockPath())
Callers
1
Start
Method · 0.80
Calls
3
LockPath
Method · 0.95
Create
Method · 0.65
Encode
Method · 0.45
Tested by
no test coverage detected