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

Function Apply

internal/update/update.go:133–215  ·  view source on GitHub ↗

Apply downloads the current platform's binary, verifies its sha256 against the published codehamr_checksums.txt, and atomically replaces execPath. The caller is expected to syscall.Exec afterwards so the process becomes the new binary with no user-visible restart. Checksum verification closes the s

(ctx context.Context, execPath string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 2

assetNameFunction · 0.85
fetchHashFunction · 0.85