MCPcopy Create free account
hub / github.com/an0nfunc/ALHP / constructVersion

Function constructVersion

utils.go:290–295  ·  view source on GitHub ↗
(pkgver, pkgrel, epoch string)

Source from the content-addressed store, hash-verified

288 if err != nil {
289 log.Warningf("[SWEEP] cannot read %s: %v", marchDir, err)
290 continue
291 }
292 for _, tree := range trees {
293 if !tree.IsDir() {
294 continue
295 }
296 path := filepath.Join(marchDir, tree.Name())
297 if err := cleanBuildDir(path, ""); err != nil {
298 log.Warningf("[SWEEP] cannot remove builddir %s: %v", path, err)

Callers 3

buildMethod · 0.85
increasePkgRelMethod · 0.85
genQueueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected