MCPcopy Create free account
hub / github.com/observablehq/framework / getArchiveExtensions

Method getArchiveExtensions

src/loader.ts:235–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233
234 // .zip, .tar, .tgz, .zip.js, .zip.py, etc.
235 getArchiveExtensions(): string[] {
236 const exts = Array.from(extractors.keys());
237 for (const e of extractors.keys()) for (const i of this.interpreters.keys()) exts.push(e + i);
238 return exts;
239 }
240
241 /**
242 * Returns the path to watch, relative to the current working directory, for

Callers 1

findArchiveMethod · 0.95

Calls 1

fromMethod · 0.80

Tested by

no test coverage detected