MCPcopy Create free account
hub / github.com/apache/tvm / getApi

Method getApi

web/src/artifact_cache.ts:207–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

205 }
206
207 private getApi(): CrossOriginStorageAPI | undefined {
208 if (!CrossOriginStorage.isAvailable()) {
209 return undefined;
210 }
211 return navigator.crossOriginStorage;
212 }
213
214 private normalizeRequest(request: RequestLike): string {
215 if (typeof request === "string") {

Callers 2

matchMethod · 0.95
putMethod · 0.95

Calls 1

isAvailableMethod · 0.45

Tested by

no test coverage detected