Method: Net::SFTP::Session#stat
- Defined in:
- lib/net/sftp/session.rb
#stat(path, flags = nil, &callback) ⇒ Object
Identical to the #lstat method, except that it follows symlinks (e.g., if you give it the path to a symlink, it will stat the target of the symlink rather than the symlink itself). See the #lstat method for full documentation.
551 552 553 |
# File 'lib/net/sftp/session.rb', line 551 def stat(path, flags=nil, &callback) request :stat, path, flags, &callback end |