webdavex v0.1.0 Test View Source

Link to this section Summary

Link to this section Functions

Returns webdav client configuration.

Link to this function copy(source, dest, overwrite \\ true) View Source
copy(source :: String.t(), dest :: String.t(), overwrite :: boolean()) ::
  {:ok, :copied} | {:error, atom()}
Link to this function delete(path) View Source
delete(path :: String.t()) :: {:ok, :deleted} | {:error, atom()}
Link to this function get(path) View Source
get(path :: String.t()) :: {:ok, binary()} | {:error, atom()}
Link to this function mkcol(path) View Source
mkcol(path :: String.t()) :: {:ok, :created} | {:error, atom()}
Link to this function mkcol_recursive(path) View Source
mkcol_recursive(path :: String.t()) :: {:ok, :created} | {:error, atom()}
Link to this function move(source, dest, overwrite \\ true) View Source
move(source :: String.t(), dest :: String.t(), overwrite :: boolean()) ::
  {:ok, :moved} | {:error, atom()}
Link to this function put(path, content) View Source
put(path :: String.t(), {:file, file_path :: String.t()}) ::
  {:ok, :created | :updated} | {:error, atom()}
put(path :: String.t(), {:binary, content :: binary()}) ::
  {:ok, :created | :updated} | {:error, atom()}