SFTP Client v1.4.1 SFTPClient.Operations.CloseHandle 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

Link to this function

close_handle(handle)

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

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

Link to this function

close_handle!(handle)

View Source
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.