Faker Elixir (octopus) v1.0.2 FakerElixir.File
Generate fake data for the domain File
Summary
Functions
Return an extension
Return an extension for the category given
Return a mime
Return a mime for the category given
Return a file name
Return a file name for the category given
Functions
Return an extension for the category given
Allowed categories: :image
, :audio
, :text
, :video
, :office
Examples
iex> FakerElixir.File.extension(:audio)
"mp3"
Return a mime for the category given
Allowed categories: :application
, :audio
, :image
,
:message
, :model
, :multipart
, :text
, :video
Examples
iex> FakerElixir.File.mime(:message)
"message/rfc822"