Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lmorg/murex
/ Set
Function
Set
lang/modver/modver.go:18–22 ·
view source on GitHub ↗
(module string, version *semver.Version)
Source
from the content-addressed store, hash-verified
16
)
17
18
func
Set(module string, version *semver.Version) {
19
mutex.Lock()
20
modver[module] = version
21
mutex.Unlock()
22
}
23
24
func
Get(module string) *semver.Version {
25
mutex.Lock()
Callers
3
InitEnv
Function · 0.92
TestModver
Function · 0.92
LoadPackage
Function · 0.92
Calls
2
Lock
Method · 0.45
Unlock
Method · 0.45
Tested by
1
TestModver
Function · 0.74