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

Gets the configured driver.

Link to this function

run(module, fun, args) View Source
run(module(), fun :: atom(), args :: [any()]) :: any()

Runs the operation defined by module, function and args with the configured driver.

Link to this section Callbacks

Link to this callback

run(module, fun, args) View Source
run(module(), fun :: atom(), args :: [any()]) :: any()