MCPcopy
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
18func Set(module string, version *semver.Version) {
19 mutex.Lock()
20 modver[module] = version
21 mutex.Unlock()
22}
23
24func Get(module string) *semver.Version {
25 mutex.Lock()

Callers 3

InitEnvFunction · 0.92
TestModverFunction · 0.92
LoadPackageFunction · 0.92

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by 1

TestModverFunction · 0.74