SFTPClient.Operations.MakeDir (SFTP Client v1.4.6) View Source
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.
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.
Link to this section Functions
Specs
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.
Specs
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.