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

Method getSourceInfo

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

Source from the content-addressed store, hash-verified

304 }
305
306 getSourceInfo(name: string): FileInfo | undefined {
307 return getFileInfo(this.root, this.getSourceFilePath(name));
308 }
309
310 getOutputInfo(name: string): FileInfo | undefined {
311 return getFileInfo(this.root, this.getOutputFilePath(name));

Callers 4

loader-test.tsFile · 0.80
renderPageFunction · 0.80
PreviewServerClass · 0.80
getInfoResolverFunction · 0.80

Calls 2

getSourceFilePathMethod · 0.95
getFileInfoFunction · 0.85

Tested by

no test coverage detected