exfile v0.1.5 Exfile.Hasher behaviour

A behaviour defining a module to generate a file ID.

The File ID will be used as the filename on the backend storage.

Summary

Types

uploadable :: %Exfile.LocalFile{io: term, meta: term, path: term}

Callbacks

hash(uploadable)

Specs

hash(uploadable) :: file_id