The implementation of the mkdir operation.
Methods
Public Instance methods
Attempt to create the directory at the given path, giving it the attributes specified by the hash.
[ show source ]
# File lib/net/sftp/operations/mkdir.rb, line 26 26: def perform( path, hash ) 27: attrs = @driver.attr_factory.from_hash( hash ) 28: @driver.mkdir( nil, path, attrs ) 29: end