| hide_title | true |
|---|---|
| custom_edit_url | |
| pagination_prev | |
| pagination_next |
Home > @rushstack/node-core-library > FileSystem > getStatistics
Gets the statistics for a particular filesystem object. If the path is a link, this function follows the link and returns statistics about the link target. Behind the scenes it uses fs.statSync()<></>.
Signature:
static getStatistics(path: string): FileSystemStats;|
Parameter |
Type |
Description |
|---|---|---|
|
path |
string |
The absolute or relative path to the filesystem object. |
Returns: