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

Method setManifestURL

js/bundle/src/encoder.ts:153–157  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

151 }
152
153 setManifestURL(url: string): BundleBuilder {
154 validateExchangeURL(url);
155 this.bundleBuilder.addSection('manifest', url);
156 return this.bundleBuilder;
157 }
158
159 setIndexEntry(url: string, responseLength: number): void {
160 this.index.set(url, [

Callers

nothing calls this directly

Calls 2

validateExchangeURLFunction · 0.85
addSectionMethod · 0.80

Tested by

no test coverage detected