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

A module that provides functions to close an open handle pointing to a file or directory on the SFTP server.

Link to this section Summary

Functions

Closes a handle to an open file or directory on the server.

Closes a handle to an open file or directory on the server. Raises when the operation fails.

Link to this section Functions

Specs

close_handle(SFTPClient.Handle.t()) :: :ok | {:error, SFTPClient.error()}

Closes a handle to an open file or directory on the server.

Specs

close_handle!(SFTPClient.Handle.t()) :: :ok | no_return()

Closes a handle to an open file or directory on the server. Raises when the operation fails.