D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
File
/
Filename :
lstat-i.yaml
back
Copy
--- !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