MCPcopy
hub / github.com/baetyl/baetyl / isObjectConfig

Function isObjectConfig

engine/utils.go:286–293  ·  view source on GitHub ↗
(cfg *specv1.Configuration)

Source from the content-addressed store, hash-verified

284}
285
286func isObjectConfig(cfg *specv1.Configuration) bool {
287 for k := range cfg.Data {
288 if specv1.IsConfigObject(k) {
289 return true
290 }
291 }
292 return false
293}

Callers 2

recycleMethod · 0.85
cleanObjectStorageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected