Skip to main content

stat

method FileHandle.stat
Jump to headingFileHandle.stat(opts?: StatOptions & { bigint?: false | undefined; }): Promise<Stats>

Parameters Jump to heading

optional
Jump to headingopts: StatOptions & { bigint?: false | undefined; }

Return Type Jump to heading

Promise<Stats>

Fulfills with an {fs.Stats} for the file.

Jump to headingFileHandle.stat(opts: StatOptions & { bigint: true; }): Promise<BigIntStats>

Parameters Jump to heading

Jump to headingopts: StatOptions & { bigint: true; }

Return Type Jump to heading

Promise<BigIntStats>
Jump to headingFileHandle.stat(opts?: StatOptions): Promise<Stats | BigIntStats>
Back to top