increase uploader behaviour documentation accuracy.

This commit is contained in:
Thurloat 2018-08-30 09:20:29 -03:00
parent af01f0196a
commit adffad5502

View File

@ -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(),