SFTP Client v1.3.0 SFTPClient.Operations.LinkInfo View Source
A module that provides functions to retrieve information on symbolic links from an SFTP server.
Link to this section Summary
Link to this section Functions
Link to this function
link_info(conn, path)
View Source
link_info(conn, path)
View Source
link_info(SFTPClient.Conn.t(), Path.t()) ::
{:ok, File.Stat.t()} | {:error, SFTPClient.error()}
link_info(SFTPClient.Conn.t(), Path.t()) :: {:ok, File.Stat.t()} | {:error, SFTPClient.error()}
Returns a File.Stat
struct from the remote symbolic link object specified by
path.
Link to this function
link_info!(conn, path)
View Source
link_info!(conn, path)
View Source
link_info!(SFTPClient.Conn.t(), Path.t()) :: File.Stat.t() | no_return()
link_info!(SFTPClient.Conn.t(), Path.t()) :: File.Stat.t() | no_return()
Returns a File.Stat
struct from the remote symbolic link object specified by
path. Raises when the operation fails.