MCPcopy Create free account
hub / github.com/TanStack/router / getScriptSnapshot

Function getScriptSnapshot

scripts/ts-symbol-references.mjs:63–66  ·  view source on GitHub ↗
(fileName)

Source from the content-addressed store, hash-verified

61 getNewLine: () => ts.sys.newLine,
62 getScriptFileNames: () => fileNames,
63 getScriptSnapshot(fileName) {
64 const text = getFileText(fileName)
65 return text === undefined ? undefined : ts.ScriptSnapshot.fromString(text)
66 },
67 getScriptVersion: () => '0',
68 readDirectory: ts.sys.readDirectory,
69 readFile: ts.sys.readFile,

Callers

nothing calls this directly

Calls 1

getFileTextFunction · 0.85

Tested by

no test coverage detected