loki v1.1.0 Loki.Directory

Working with folders helpers.

Summary

Functions

Helper for copy directory

Helper for create directory

Helper for checking if file exists

Helper for remove directory

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.

create_directory(path)
create_directory(Path.t) :: :ok | {:error, Atom.t}
create_directory(Path.t) :: none

Helper for create directory.

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}

Helper for remove directory.