filesystem.hardlink_count

Synopsis

local fs = require "filesystem"
fs.hardlink_count(p: fs.path) -> integer

Description

Returns the number of hard links for the filesystem object identified by path p.