SFTP Client v1.3.0 SFTPClient.Operations.DeleteDir 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
Link to this function
delete_dir(conn, path)
View Source
delete_dir(conn, path)
View Source
delete_dir(SFTPClient.Conn.t(), Path.t()) :: :ok | {:error, SFTPClient.error()}
delete_dir(SFTPClient.Conn.t(), Path.t()) :: :ok | {:error, SFTPClient.error()}
Deletes the directory specified by path.
Link to this function
delete_dir!(conn, path)
View Source
delete_dir!(conn, path)
View Source
delete_dir!(SFTPClient.Conn.t(), Path.t()) :: :ok | no_return()
delete_dir!(SFTPClient.Conn.t(), Path.t()) :: :ok | no_return()
Deletes the directory specified by path. Raises when the operation fails.