Packages
stein_storage
0.1.0
Stein.Storage contains common storage functions for our projects at SmartLogic.
Current section
Files
Jump to
Current section
Files
lib/stein/storage/file_upload.ex
defmodule Stein.Storage.FileUpload do
@moduledoc """
Processed file struct for use in uploading.
Create with `Stein.Storage.prep_file/1`
"""
@type t() :: %__MODULE__{
filename: String.t(),
extension: String.t(),
path: String.t()
}
defstruct [:filename, :extension, :path]
end