MCPcopy Create free account
hub / github.com/codehamr/codehamr / isLocalBuild

Function isLocalBuild

cmd/codehamr/main.go:132–142  ·  view source on GitHub ↗

isLocalBuild reports whether the binary came from a working tree rather than an official release. `go run` leaves version "dev"; `make install` injects `git describe --tags --always --dirty`, so a dirty tree carries a "-dirty" suffix, a clean tree past the last tag the describe shape (v0.3.0-5-g5290

(version string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestIsLocalBuildFunction · 0.85
maybeSelfUpdateFunction · 0.85

Calls 1

isHexFunction · 0.85

Tested by 1

TestIsLocalBuildFunction · 0.68