Home > @rushstack/node-core-library > FileSystem > getLinkStatistics
FileSystem.getLinkStatistics() method
Gets the statistics of a filesystem object. Does NOT follow the link to its target. Behind the scenes it uses fs.lstatSync()
.
Signature:
static getLinkStatistics(path: string): FileSystemStats;
Parameters
Parameter | Type | Description |
---|---|---|
path | string | The absolute or relative path to the filesystem object. |
Returns: