1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 02:49:18 +00:00

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