Skip to content

Dedupe uploads

Sir_Boops requested to merge Sir_Boops/pleroma:develop into develop

#129 (closed)

This saves all uploads in the upload directory itself as sha256 sums so when another copy is uploaded it discards the upload and returns the already saved file

I removed UUID from the response and everything is fine?

Tested and seems to work just fine

This is my first time writing Elixir so please tell me if i made any obvious mistakes!

Update: It down converts the shasums to lowercase because it looks better

Edited by Sir_Boops

Merge request reports