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 a `String.t` containing the path of the uploaded file.
15 content_type :: String.t(),
16 should_dedupe :: Boolean.t()
17 ) :: {:ok, String.t()} | {:error, String.t()}