Skip to content

Latest commit

 

History

History
60 lines (32 loc) · 1.02 KB

File metadata and controls

60 lines (32 loc) · 1.02 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

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:

FileSystemStats