Implements the setstat operation.
Methods
Public Instance methods
Perform the operation. The hash parameter is a hash of attributes that should be set on the file or directory indicated by the path.
[ show source ]
# File lib/net/sftp/operations/setstat.rb, line 26 26: def perform( path, hash ) 27: attrs = @driver.attr_factory.from_hash( hash ) 28: @driver.setstat( nil, path, attrs ) 29: end