Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/File/lstat-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Same as <tt>IO#stat</tt>, but does not follow the last symbolic link. Instead, reports on the link itself.
- !ruby/struct:SM::Flow::VERB
body: " File.symlink("testfile", "link2test") #=> 0\n File.stat("testfile").size #=> 66\n f = File.new("link2test")\n f.lstat.size #=> 8\n f.stat.size #=> 66\n"
full_name: File#lstat
is_singleton: false
name: lstat
params: |
file.lstat => stat
visibility: public