tarlatan
    Preparing search index...
    • A file's status, following symbolic links. Throws an error whose code is ENOENT or ENOTDIR when nothing is there, or another code such as EACCES when the path cannot be inspected.

      Parameters

      • path: string

      Returns { isDirectory(): boolean }

      • isDirectory: function
        • Whether the entry, after following symbolic links, is a directory. False for a regular file or any other kind, which Runtime reports as "a file" rather than as nothing.

          Returns boolean

    • A file's status, following symbolic links, with its modification time in milliseconds since the epoch (bigint: false keeps numbers).

      Parameters

      • path: string
      • options: { bigint: false }

      Returns { mtimeMs: number; isDirectory(): boolean }

      • ReadonlymtimeMs: number

        The modification time, in milliseconds since the epoch.

      • isDirectory: function
        • Whether the entry, after following symbolic links, is a directory.

          Returns boolean