View Source SFTPClient.Operations.MakeLink (SFTP Client v2.1.0)
A module that provides functions to create symlinks on an SFTP server.
Summary
Functions
Creates a symbolic link pointing to target_path
with the name
symlink_path
.
Creates a symbolic link pointing to target_path
with the name
symlink_path
. Raises when the operation fails.
Functions
@spec make_link(SFTPClient.Conn.t(), Path.t(), Path.t()) :: :ok | {:error, SFTPClient.error()}
Creates a symbolic link pointing to target_path
with the name
symlink_path
.
@spec make_link!(SFTPClient.Conn.t(), Path.t(), Path.t()) :: :ok | no_return()
Creates a symbolic link pointing to target_path
with the name
symlink_path
. Raises when the operation fails.