from_hash (Net::SFTP::Protocol::V_04::Attributes)

    # File lib/net/sftp/protocol/04/attributes.rb, line 120
        def self.from_hash( hash )
          if hash.has_key?(:uid)
            require 'etc'
            hash[:owner] = Etc.getpwuid( hash[:uid] ).name
          end

          if hash.has_key?(:gid)
            require 'etc'
            hash[:group] = Etc.getgrgid( hash[:gid] ).name
          end

          new hash[:type] || T_REGULAR, hash[:size], hash[:owner], hash[:group],
            hash[:permissions], hash[:atime], hash[:atime_nseconds],
            hash[:ctime], hash[:ctime_nseconds], hash[:mtime],
            hash[:mtime_nseconds], hash[:acl], hash[:extended]
        end