Remove unused @types

This commit is contained in:
Mark Felder 2020-07-10 17:08:54 -05:00
parent 9e45672674
commit b329f05ed6

View File

@ -9,9 +9,6 @@ defmodule Pleroma.Upload.Filter.Exiftool do
""" """
@behaviour Pleroma.Upload.Filter @behaviour Pleroma.Upload.Filter
@type conversion :: action :: String.t() | {action :: String.t(), opts :: String.t()}
@type conversions :: conversion() | [conversion()]
def filter(%Pleroma.Upload{tempfile: file, content_type: "image" <> _}) do def filter(%Pleroma.Upload{tempfile: file, content_type: "image" <> _}) do
System.cmd("exiftool", ["-overwrite_original", "-gps:all=", file], parallelism: true) System.cmd("exiftool", ["-overwrite_original", "-gps:all=", file], parallelism: true)
:ok :ok