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

Method updateIndexValues

js/bundle/src/encoder.ts:167–172  ·  view source on GitHub ↗
(responsesHeaderSize: number)

Source from the content-addressed store, hash-verified

165 }
166
167 updateIndexValues(responsesHeaderSize: number): Map<string, any[]> {
168 for (const value of this.index.values()) {
169 value[1] += responsesHeaderSize;
170 }
171 return this.index;
172 }
173
174 createTopLevel(): unknown {
175 const sectionLengths: Array<string | number> = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected