SFTP Client v1.4.0 SFTPClient.Operations.MakeLink View Source
A module that provides functions to create symlinks on an SFTP server.
Link to this section 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.
Link to this section Functions
Link to this function
make_link(conn, symlink_path, target_path)
View Source
make_link(conn, symlink_path, target_path)
View Source
make_link(SFTPClient.Conn.t(), Path.t(), Path.t()) ::
:ok | {:error, SFTPClient.error()}
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
.
Link to this function
make_link!(conn, symlink_path, target_path)
View Source
make_link!(conn, symlink_path, target_path)
View Source
make_link!(SFTPClient.Conn.t(), Path.t(), Path.t()) :: :ok | no_return()
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.