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

Function getFileWatcherEventKind

test/fixtures/snapshot/typescript.js:6487–6493  ·  view source on GitHub ↗
(oldTime, newTime)

Source from the content-addressed store, hash-verified

6485 ts.onWatchedFileStat = onWatchedFileStat;
6486 /*@internal*/
6487 function getFileWatcherEventKind(oldTime, newTime) {
6488 return oldTime === 0
6489 ? FileWatcherEventKind.Created
6490 : newTime === 0
6491 ? FileWatcherEventKind.Deleted
6492 : FileWatcherEventKind.Changed;
6493 }
6494 ts.getFileWatcherEventKind = getFileWatcherEventKind;
6495 /*@internal*/
6496 ts.ignoredPaths = ["/node_modules/.", "/.git", "/.#"];

Callers 1

onWatchedFileStatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected