statSync
statSync(path): null | Stats
Parameters
| Parameter | Type | Description |
|---|---|---|
path | PathLike | File path to retrieve file stats for. |
Returns
null | Stats
Object containing the file stat information of path, or null if the file does not exist.
statSync(path): null | Stats
| Parameter | Type | Description |
|---|---|---|
path | PathLike | File path to retrieve file stats for. |
null | Stats
Object containing the file stat information of path, or null if the file does not exist.