D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
File
/
Filename :
lstat-c.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Same as <tt>File::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 File.lstat("link2test").size #=> 8\n File.stat("link2test").size #=> 66\n" full_name: File::lstat is_singleton: true name: lstat params: | File.lstat(file_name) => stat visibility: public