Skip to content

PathInfoBase.statInternalSync() method

pathlib-ts > PathInfoBase > statInternalSync

Synchronous variant of statInternal. Mirrors the async behavior but uses fs.statSync/fs.lstatSync.

Signature:

protected statInternalSync(opts?: {
followSymlinks?: boolean;
ignoreErrors?: boolean;
}): fs.Stats | null;

Parameter

Type

Description

opts

{ followSymlinks?: boolean; ignoreErrors?: boolean; }

(Optional)

Returns:

fs.Stats | null