lib/net/sftp/protocol/04/attributes.rb
# Performs protocol-version-specific encoding of the access control
# list, if one exists.
Performs protocol-version-specific encoding of the access control
list, if one exists.
Performs protocol - version - specific encoding of the access control list if one exists .
def encode_acl(buffer)
        acl_buf = Net::SSH::Buffer.from(:long, acl.length)
        acl.each do |item|
          acl_buf.write_long item.type, item.flag, item.mask
          acl_buf.write_string item.who
        end
        buffer.write_string(acl_buf.to_s)
      end
def encode_acl ( buffer ) acl_buf = Net :: SSH :: Buffer . from ( :long , acl . length ) acl . each do | item | acl_buf . write_long item . type , item . flag , item . mask acl_buf . write_string item . who end buffer . write_string ( acl_buf . to_s ) end
Performs protocol-version-specific encoding of the access control
list, if one exists.
Performs protocol - version - specific encoding of the access control list if one exists .
buffer
<not_specific>