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

Function updateOutputTimestamps

test/fixtures/snapshot/typescript.js:125159–125169  ·  view source on GitHub ↗
(state, proj, resolvedPath)

Source from the content-addressed store, hash-verified

125157 return priorNewestUpdateTime;
125158 }
125159 function updateOutputTimestamps(state, proj, resolvedPath) {
125160 if (state.options.dry) {
125161 return reportStatus(state, ts.Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0, proj.options.configFilePath);
125162 }
125163 var priorNewestUpdateTime = updateOutputTimestampsWorker(state, proj, minimumDate, ts.Diagnostics.Updating_output_timestamps_of_project_0);
125164 state.projectStatus.set(resolvedPath, {
125165 type: ts.UpToDateStatusType.UpToDate,
125166 newestDeclarationFileContentChangedTime: priorNewestUpdateTime,
125167 oldestOutputFileName: ts.getFirstProjectOutput(proj, !state.host.useCaseSensitiveFileNames())
125168 });
125169 }
125170 function queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, buildResult) {
125171 // Queue only if there are no errors
125172 if (buildResult & BuildResultFlags.AnyErrors)

Callers 1

Calls 3

reportStatusFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected