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

Method getOutputInfo

src/loader.ts:310–312  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

308 }
309
310 getOutputInfo(name: string): FileInfo | undefined {
311 return getFileInfo(this.root, this.getOutputFilePath(name));
312 }
313
314 getLocalModuleHash(path: string): Promise<string> {
315 return getLocalModuleHash(this.root, path, (p) => this.getOutputFileHash(p));

Callers 4

getOutputFileHashMethod · 0.95
loader-test.tsFile · 0.80
renderPageFunction · 0.80
resolveFileInfoFunction · 0.80

Calls 2

getOutputFilePathMethod · 0.95
getFileInfoFunction · 0.85

Tested by

no test coverage detected