View Source SFTPClient.Operations.MakeDir (SFTP Client v1.4.8)
A module that provides functions to create directories on an SFTP server.
Link to this section Summary
Functions
Creates a directory specified by path. The path must be a full path to a new directory. The directory can only be created in an existing directory. Raises when the operation fails.
Creates a directory specified by path. The path must be a full path to a new directory. The directory can only be created in an existing directory.
Link to this section Functions
@spec make_dir!(SFTPClient.Conn.t(), Path.t()) :: :ok | no_return()
Creates a directory specified by path. The path must be a full path to a new directory. The directory can only be created in an existing directory. Raises when the operation fails.
@spec make_dir(SFTPClient.Conn.t(), Path.t()) :: :ok | {:error, SFTPClient.error()}
Creates a directory specified by path. The path must be a full path to a new directory. The directory can only be created in an existing directory.