# File lib/net/sftp/protocol/01/attributes.rb, line 246 def directory? case type when T_DIRECTORY then true when T_UNKNOWN then nil else false end end