PathInfoBase.statInternalSync() method
pathlib-ts > PathInfoBase > statInternalSync
PathInfoBase.statInternalSync() method
Section titled “PathInfoBase.statInternalSync() method”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;Parameters
Section titled “Parameters”|
Parameter |
Type |
Description |
|---|---|---|
|
opts |
{ followSymlinks?: boolean; ignoreErrors?: boolean; } |
(Optional) |
Returns:
fs.Stats | null