The top-level result of an identification call.
:status is :ok when identification succeeded, in which case
:prediction holds a Magika.Prediction. On failure (e.g. a missing or
unreadable file) :status carries the error reason and :prediction is
nil.
Summary
Functions
Returns true when the result holds a successful prediction.
Types
@type status() :: :ok | :file_not_found | :permission_error
@type t() :: %Magika.Result{ path: Path.t() | nil, prediction: Magika.Prediction.t() | nil, status: status() }