MCPcopy Create free account
hub / github.com/docker/secrets-engine / AddMod

Method AddMod

x/release/helper/release.go:145–148  ·  view source on GitHub ↗
(mod string, data Version, deps []string)

Source from the content-addressed store, hash-verified

143type RepoData map[string]ModData
144
145func (d RepoData) AddMod(mod string, data Version, deps []string) {
146 d.addVersionData(mod, data)
147 d.addDeps(mod, deps)
148}
149
150func (d RepoData) addVersionData(mod string, data Version) {
151 before := d.getOrInit(mod)

Callers 2

newRepoDataFunction · 0.95
newMockRepoDataFunction · 0.95

Calls 2

addVersionDataMethod · 0.95
addDepsMethod · 0.95

Tested by 1

newMockRepoDataFunction · 0.76