View Source Infer.Type (Infer v0.2.4)

Link to this section Summary

Link to this section Types

Specs

extension() :: binary()

Specs

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

Specs

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

Specs

mime_type() :: binary()

Specs

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