MCPcopy Index your code
hub / github.com/nodejs/node / getUpToDateStatus

Function getUpToDateStatus

test/fixtures/snapshot/typescript.js:125122–125133  ·  view source on GitHub ↗
(state, project, resolvedPath)

Source from the content-addressed store, hash-verified

125120 };
125121 }
125122 function getUpToDateStatus(state, project, resolvedPath) {
125123 if (project === undefined) {
125124 return { type: ts.UpToDateStatusType.Unbuildable, reason: "File deleted mid-build" };
125125 }
125126 var prior = state.projectStatus.get(resolvedPath);
125127 if (prior !== undefined) {
125128 return prior;
125129 }
125130 var actual = getUpToDateStatusWorker(state, project, resolvedPath);
125131 state.projectStatus.set(resolvedPath, actual);
125132 return actual;
125133 }
125134 function updateOutputTimestampsWorker(state, proj, priorNewestUpdateTime, verboseMessage, skipOutputs) {
125135 if (proj.options.noEmit)
125136 return priorNewestUpdateTime;

Callers 3

getUpToDateStatusWorkerFunction · 0.85

Calls 3

getUpToDateStatusWorkerFunction · 0.85
getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…