# File lib/net/sftp/operations/file_factory.rb, line 55 def directory?(path) sftp.lstat!(path).directory? end