MCPcopy Create free account
hub / github.com/containers/fetchit / checkTag

Function checkTag

pkg/engine/apply.go:186–196  ·  view source on GitHub ↗
(tags *[]string, name string)

Source from the content-addressed store, hash-verified

184}
185
186func checkTag(tags *[]string, name string) bool {
187 if tags == nil {
188 return true
189 }
190 for _, suffix := range *tags {
191 if strings.HasSuffix(name, suffix) {
192 return true
193 }
194 }
195 return false
196}
197
198func (fc *FetchitConfig) runChangesConcurrent(ctx context.Context, mo *SingleMethodObj, changeMap map[*object.Change]string) error {
199 ch := make(chan error)

Callers 1

getFilteredChangeMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected