Commit adffad55 authored by Thurloat's avatar Thurloat

increase uploader behaviour documentation accuracy.

parent af01f019
......@@ -6,7 +6,9 @@ defmodule Pleroma.Uploaders.Uploader do
@doc """
Put a file to the backend.
Returns a `String.t` containing the path of the uploaded file.
Returns `{:ok, String.t } | {:error, String.t} containing the path of the
uploaded file, or error information if the file failed to be saved to the
respective backend.
"""
@callback put_file(
name :: String.t(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment