lib/net/sftp/protocol/01/attributes.rb
# Returns the array of attribute meta-data that defines the structure of
# the attributes packet as described by this version of the protocol.
Returns the array of attribute meta-data that defines the structure of
the attributes packet as described by this version of the protocol.
Returns the array of attribute meta - data that defines the structure of the attributes packet as described by this version of the protocol .
def elements 
        @elements ||= [
          [:size,                :int64,   F_SIZE],
          [:uid,                 :long,    F_UIDGID],
          [:gid,                 :long,    F_UIDGID],
          [:permissions,         :long,    F_PERMISSIONS],
          [:atime,               :long,    F_ACMODTIME],
          [:mtime,               :long,    F_ACMODTIME],
          [:extended,            :special, F_EXTENDED]
        ]
      end
def elements @elements ||= [ [ :size , :int64 , F_SIZE ] , [ :uid , :long , F_UIDGID ] , [ :gid , :long , F_UIDGID ] , [ :permissions , :long , F_PERMISSIONS ] , [ :atime , :long , F_ACMODTIME ] , [ :mtime , :long , F_ACMODTIME ] , [ :extended , :special , F_EXTENDED ] ] end
Returns the array of attribute meta-data that defines the structure of
the attributes packet as described by this version of the protocol.
Returns the array of attribute meta - data that defines the structure of the attributes packet as described by this version of the protocol .
#:nodoc: