exfile v0.3.6 Exfile.Identify View Source

Identifies the mime type of a local file

Link to this section Summary

Functions

Identifies the mime type of a local file

Link to this section Functions

Link to this function mime_type(path) View Source
mime_type(Path.t) :: {:ok, String.t} | :error

Identifies the mime type of a local file