MCPcopy Create free account
hub / github.com/WICG/webpackage / indexSection

Struct indexSection

go/bundle/encoder.go:93–96  ·  view source on GitHub ↗

staging area for writing index section

Source from the content-addressed store, hash-verified

91
92// staging area for writing index section
93type indexSection struct {
94 es []*indexEntry
95 bytes []byte
96}
97
98func (is *indexSection) addExchange(e *Exchange, offset, length int) error {
99 variants := normalizeHeaderValues(e.Response.Header[http.CanonicalHeaderKey("variants")])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected