Flowdock
nlink() public

Returns the number of hard links to stat.

   File.stat("testfile").nlink             #=> 1
   File.link("testfile", "testfile.bak")   #=> 0
   File.stat("testfile").nlink             #=> 2
Show source
Register or log in to add new notes.