SFTP Client v1.4.0 SFTPClient.Operations.ReadLink View Source
A module that provides functions to retrieve the target of a symbolic link on an SFTP server.
Link to this section Summary
Functions
Reads the link target from the symbolic link specified by path.
Reads the link target from the symbolic link specified by path. Raises when the operation fails.
Link to this section Functions
Link to this function
read_link(conn, path)
View Source
read_link(conn, path)
View Source
read_link(SFTPClient.Conn.t(), Path.t()) ::
{:ok, Path.t()} | {:error, SFTPClient.error()}
read_link(SFTPClient.Conn.t(), Path.t()) :: {:ok, Path.t()} | {:error, SFTPClient.error()}
Reads the link target from the symbolic link specified by path.
Link to this function
read_link!(conn, path)
View Source
read_link!(conn, path)
View Source
read_link!(SFTPClient.Conn.t(), Path.t()) :: Path.t() | no_return()
read_link!(SFTPClient.Conn.t(), Path.t()) :: Path.t() | no_return()
Reads the link target from the symbolic link specified by path. Raises when the operation fails.