View Source SFTPClient.Operations.DeleteDir (SFTP Client v2.1.0)
A module containing operations to delete a directory from the remote server.
Summary
Functions
Deletes the directory specified by path.
Deletes the directory specified by path. Raises when the operation fails.
Functions
@spec delete_dir(SFTPClient.Conn.t(), Path.t()) :: :ok | {:error, SFTPClient.error()}
Deletes the directory specified by path.
@spec delete_dir!(SFTPClient.Conn.t(), Path.t()) :: :ok | no_return()
Deletes the directory specified by path. Raises when the operation fails.