function stat
stat(path: PathLike,opts?: StatOptions & { bigint?: false | undefined; },): Promise<Stats>Deprecated
path: PathLikeoptional
opts: StatOptions & { bigint?: false | undefined; }Promise<Stats>Fulfills with the {fs.Stats} object for the given path.
stat(path: PathLike,opts: StatOptions & { bigint: true; },): Promise<BigIntStats>Deprecated
path: PathLikeopts: StatOptions & { bigint: true; }Promise<BigIntStats>stat(path: PathLike,opts?: StatOptions,): Promise<Stats | BigIntStats>Deprecated
path: PathLikeoptional
opts: StatOptionsPromise<Stats | BigIntStats>