CoAgent8 - Source API
    Preparing search index...

    Function statIfExists

    • Stats of a file, or null when it does not exist; other I/O errors propagate.

      Parameters

      • file: string

      Returns Promise<{ mtimeMs: number; size: number } | null>