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

Function fetchHash

internal/update/update.go:257–288  ·  view source on GitHub ↗

fetchHash downloads codehamr_checksums.txt and returns the hash for asset. The manifest is one line per asset, " "; we match the last field so a future prefix tweak still works. A scanner read error is surfaced, not dropped as "", nil: Apply treats "no entry" as a fatal misma

(ctx context.Context, asset string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

CheckFunction · 0.85
ApplyFunction · 0.85

Calls

no outgoing calls

Tested by 1