nlink

stat.nlink â fixnum
Instance Public methods

Returns the number of hard links to stat.

1
2
3
File.stat("testfile").nlink             #=> 1
File.link("testfile", "testfile.bak")   #=> 0
File.stat("testfile").nlink             #=> 2
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.