File.lstat(file_name) รข stat
Class Public methods
Same as File::stat
, but does not follow the last symbolic
link. Instead, reports on the link itself.
File.symlink("testfile", "link2test") #=> 0 File.stat("testfile").size #=> 66 File.lstat("link2test").size #=> 8 File.stat("link2test").size #=> 66
Please login to continue.