Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
adffad55
Commit
adffad55
authored
Aug 30, 2018
by
Thurloat
Browse files
increase uploader behaviour documentation accuracy.
parent
af01f019
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/uploaders/uploader.ex
View file @
adffad55
...
...
@@ -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
(),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment