method promises.FileHandle.stat
Overload 1
#FileHandle.stat(opts?: StatOptions & { bigint?: false | undefined; }): Promise<Stats>Parameters #
#opts: StatOptions & { bigint?: false | undefined; } optional
Return Type #
Promise<Stats> Fulfills with an {fs.Stats} for the file.
Overload 2
#FileHandle.stat(opts: StatOptions & { bigint: true; }): Promise<BigIntStats>Parameters #
#opts: StatOptions & { bigint: true; } Return Type #
Promise<BigIntStats> Overload 3
#FileHandle.stat(opts?: StatOptions): Promise<Stats | BigIntStats>Parameters #
#opts: StatOptions optional
Return Type #
Promise<Stats | BigIntStats>