We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The shared-mime-info database catalogues type aliases and I propose exposing them via new aliases, alias?, and canonical methods:
shared-mime-info
aliases
alias?
canonical
m = MimeMagic.new('text/xml').canonical # => <MimeMagic "application/xml"> m.aliases # => [<MimeMagic "text/xml">] m.aliases.first.alias? # => true
This will make it possible to match a wider range of inputs. Happy to do the patch.
The text was updated successfully, but these errors were encountered:
Update: I did the patch.
Sorry, something went wrong.
No branches or pull requests
The
shared-mime-info
database catalogues type aliases and I propose exposing them via newaliases
,alias?
, andcanonical
methods:This will make it possible to match a wider range of inputs. Happy to do the patch.
The text was updated successfully, but these errors were encountered: