Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
335
function
defineParams(params: Params): string[] {
Callers
4
resolveFile
Function · 0.80
PreviewServer
Class · 0.80
build
Function · 0.80
resolveFile
Function · 0.80
Calls
1
getSourceFileHash
Method · 0.95
Tested by
no test coverage detected