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

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. Raises when the operation fails.

Reads the link target from the symbolic link specified by path.

Link to this section Functions

@spec 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.

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

Reads the link target from the symbolic link specified by path.