Optionaltimings: NodeDirectoryWatcherTimingsShared, so every watcher this provider makes resolves paths the same way.
Protected ReadonlyclientProtected ReadonlyhostShared, so every watcher this provider makes resolves paths the same way.
Protected ReadonlyoptionsProtected Optional ReadonlytimingsProtectedactiveEvery watcher this provider currently has open.
ProtectedassignRecords the watcher of a request that reached it without serve, such as through a re-key.
true if this provider serves requests made with these options.
ProtectedcreateWhile the path does not exist, directory is a guess, so re-key the watcher once it resolves.
ProtectedcreateProtectedgetReturns the watcher under watcherKey, or creates one. A disposed watcher stays in the map until a later
promise callback removes it, so it is replaced here rather than handed a new request.
Protectedistrue if watcher is the one registered under watcherKey.
ProtectedrekeyMoves a watcher to the key of the directory it resolved to, or hands its requests to the one there.
ProtectedservePuts a request on a watcher and records which one, so unwatch finds it again.
ProtectedunregisterForgets every key a watcher is registered under, so that it can be registered under another.
Releases the request registered under watcherId.
true if this provider served the request.
Serves request under watcherId, on a watcher shared with requests resolving to the same target.
ProtectedwatcherThe watcher serving a request, if this provider has one.
ProtectedwatcherExcludes are left out: one level has nothing to prune, so they apply per request.
Serves non-recursive requests. Those resolving to the same directory share one watcher, file or folder alike.