MCPcopy Create free account
hub / github.com/rsc/tmp / IndexZip

Function IndexZip

gorebuild/io.go:274–306  ·  view source on GitHub ↗

IndexZip parses zipdata as a zip archive and returns an index of its content. If fix is non-nil, it is applied to file content before indexing. This lets us strip code signatures that cannot be reproduced.

(log *Log, zipdata []byte, fix Fixer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

DiffWindowsMsiFunction · 0.85
DiffZipFunction · 0.85

Calls 4

SHA256Function · 0.85
PrintfMethod · 0.80
OpenMethod · 0.80
CloseMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…