1 defmodule Pleroma.Uploaders.Uploader do
3 Defines the contract to put an uploaded file to any backend.
7 Put a file to the backend.
9 Returns `{:ok, String.t } | {:error, String.t} containing the path of the
10 uploaded file, or error information if the file failed to be saved to the
17 content_type :: String.t(),
18 should_dedupe :: Boolean.t()
19 ) :: {:ok, String.t()} | {:error, String.t()}