SFTP Client v1.1.1 SFTPClient.Driver behaviour View Source
A behavior that can be implemented by your own modules to mock or stub SFTP operations. You can set a custom driver by specifying it in your config:
config :sftp_client, :driver, MySFTPMock
The default driver is SFTPClient.Driver.Common
.
Link to this section Summary
Functions
Gets the configured driver.
Runs the operation defined by module, function and args with the configured driver.
Link to this section Functions
Link to this function
driver()
View Source
driver()
View Source
driver() :: module()
driver() :: module()
Gets the configured driver.
Link to this function
run(module, fun, args) View Source
Runs the operation defined by module, function and args with the configured driver.
Link to this section Callbacks
Link to this callback