SFTPClient.Operations.DeleteDir (SFTP Client v1.4.6) View Source

A module containing operations to delete a directory from the remote server.

Link to this section Summary

Functions

Deletes the directory specified by path.

Deletes the directory specified by path. Raises when the operation fails.

Link to this section Functions

Specs

delete_dir(SFTPClient.Conn.t(), Path.t()) :: :ok | {:error, SFTPClient.error()}

Deletes the directory specified by path.

Specs

delete_dir!(SFTPClient.Conn.t(), Path.t()) :: :ok | no_return()

Deletes the directory specified by path. Raises when the operation fails.