loki v1.2.2 Loki.Directory

Working with folders helpers.

Summary

Functions

copy_directory(any)
copy_directory(any) :: none
copy_directory(source, target)
copy_directory(Path.t, Path.t) ::
  {:ok, [binary]} |
  {:error, String.t, binary}

Helper for copy directory.

copy_directory(source, target, opts)
copy_directory(Path.t, Path.t, Keyword.t) :: none
create_directory(path)
create_directory(Path.t) :: :ok | {:error, Atom.t}
create_directory(Path.t) :: none

Helper for create directory.

create_directory(path, opts)
create_directory(Path.t, Keyword.t) :: none
exists_directory?(path)
exists_directory?(Path.t) :: Boolean.t
exists_directory?(Path.t) :: none

Helper for checking if file exists.

remove_directory(path)
remove_directory(Path.t) ::
  {:ok, [binary]} |
  {:error, String.t, binary}
remove_directory(any) :: none

Helper for remove directory.

remove_directory(path, opts)
remove_directory(Path.t, Keyword.t) :: none