MCPcopy Create free account
hub / github.com/nodejs/node / getAndCacheBuildInfo_1

Function getAndCacheBuildInfo_1

test/fixtures/snapshot/typescript.js:27592–27598  ·  view source on GitHub ↗
(getText)

Source from the content-addressed store, hash-verified

27590 };
27591 var buildInfo_1;
27592 var getAndCacheBuildInfo_1 = function (getText) {
27593 if (buildInfo_1 === undefined) {
27594 var result = getText();
27595 buildInfo_1 = result !== undefined ? ts.getBuildInfo(result) : false;
27596 }
27597 return buildInfo_1 || undefined;
27598 };
27599 node.javascriptPath = declarationTextOrJavascriptPath;
27600 node.javascriptMapPath = javascriptMapPath;
27601 node.declarationPath = ts.Debug.checkDefined(javascriptMapTextOrDeclarationPath);

Callers 1

createInputFilesFunction · 0.85

Calls 1

getTextFunction · 0.85

Tested by

no test coverage detected