file_info v0.0.4 FileInfo.Mime View Source

Link to this section Summary

Functions

Parses a given String into a MIME-struct

Throwing version of parse/1

Link to this section Types

Link to this type

t() View Source
t() :: %FileInfo.Mime{arguments: %{}, subtype: String.t(), type: String.t()}

Link to this section Functions

Parses a given String into a MIME-struct.

Returs either {:ok, mime_struct} or {:error, reason}.

Throwing version of parse/1.