Skip to main content
method promises.FileHandle.stat
FileHandle.stat(opts?: StatOptions & { bigint?: false | undefined; }): Promise<Stats>
Deprecated

Parameters

optional
opts: StatOptions & { bigint?: false | undefined; }

Return Type

Promise<Stats>

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

FileHandle.stat(opts: StatOptions & { bigint: true; }): Promise<BigIntStats>
Deprecated

Parameters

opts: StatOptions & { bigint: true; }

Return Type

Promise<BigIntStats>
FileHandle.stat(opts?: StatOptions): Promise<Stats | BigIntStats>
Deprecated

Parameters

optional
opts: StatOptions

Return Type

Promise<Stats | BigIntStats>
Back to top