Theia API Documentation v1.77.0
    Preparing search index...

    Every file system and platform rule a watcher needs, in one place a test can substitute.

    Index
    • 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.

      Parameters

      • directory: string

      Returns (fileName: string) => Promise<string | undefined>

    • 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.

      Parameters

      • fsPath: string

      Returns Promise<WatchTarget>