View Source Infer.Type (Infer v0.2.6)

Link to this section Summary

Link to this section Types

Specs

extension() :: binary()

Specs

matcher_fun() :: (binary() -> boolean())

Specs

matcher_type() :: :app | :archive | :audio | :book | :image | :font | :text

Specs

mime_type() :: binary()

Specs

t() :: %Infer.Type{
  extension: extension(),
  matcher: matcher_fun(),
  matcher_type: matcher_type(),
  mime_type: mime_type()
}