Windows and macOS resolve names irrespective of case.
Looks up the stored name of children, for several names at one moment. Where names ignore case, it reads the
directory once, as stat would hide a foo.txt to Foo.txt rename.
macOS crashes on watching a network share (microsoft/vscode#106879).
macOS reports decomposed names, which would not match a composed path a client asked to watch.
The form in which the host compares paths. A path read from the disk can be decomposed on macOS.
The identity of a directory, or undefined if the path is missing or not a directory.
A file is watched through its parent, which also keeps one that is deleted and recreated observable. A path that does not exist yet is taken for a directory. Real paths are resolved because macOS FSEvents reports them and libuv drops what it cannot match.
Every file system and platform rule a watcher needs, in one place a test can substitute.