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

Method resolveFilePath

src/loader.ts:330–332  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

328 }
329
330 resolveFilePath(path: string): string {
331 return `/${join("_file", path)}?sha=${this.getSourceFileHash(path)}`;
332 }
333}
334
335function defineParams(params: Params): string[] {

Callers 4

resolveFileFunction · 0.80
PreviewServerClass · 0.80
buildFunction · 0.80
resolveFileFunction · 0.80

Calls 1

getSourceFileHashMethod · 0.95

Tested by

no test coverage detected