thesis v0.3.4 Thesis.File

Represents a file.

Link to this section Summary

Functions

Changeset for File structs, updated via a map

Link to this section Types

Link to this type

t()
t() :: %Thesis.File{
  __meta__: term(),
  content_type: String.t(),
  data: any(),
  filename: String.t(),
  id: any(),
  inserted_at: any(),
  slug: String.t(),
  updated_at: any()
}

Link to this section Functions

Link to this function

changeset(file, upload)

Changeset for File structs, updated via a map.