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

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

Link to this section Summary

Functions

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

Deletes the directory specified by path.

Link to this section Functions

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

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

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

Deletes the directory specified by path.