Parameters
- source: PluginIndexSource
- fetcher: {
(input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
(input: string | URL | Request, init?: RequestInit): Promise<Response>;
} = fetch
-
- (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
-
Parameters
- input: URL | RequestInfo
Optionalinit: RequestInit
Returns Promise<Response>
- (input: string | URL | Request, init?: RequestInit): Promise<Response>
-
Parameters
- input: string | URL | Request
Optionalinit: RequestInit
Returns Promise<Response>
The index, or an error on the error stack (the fetch failed, the
path is not there, the archive is unreadable).
Reads an index from its source.