ResetMetaCache clears the pkgcache-level buildMeta cache. Called alongside configs.ResetMetaCache at the start of each celer command.
()
| 23 | // ResetMetaCache clears the pkgcache-level buildMeta cache. Called alongside |
| 24 | // configs.ResetMetaCache at the start of each celer command. |
| 25 | func ResetMetaCache() { |
| 26 | metaCache.Range(func(k, v any) bool { |
| 27 | metaCache.Delete(k) |
| 28 | return true |
| 29 | }) |
| 30 | } |
| 31 | |
| 32 | type portType int |
| 33 |