Skip to content
New issue

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

Add support for returning all possible mime types by magic. #37

Merged
merged 3 commits into from
May 27, 2016

Conversation

RobCherry
Copy link
Contributor

Provide a convenient way to get all possible mime types by magic, and not just the first mime type. This will allow users to check against a list of possible mime types in some situations where the file extension may indicate one thing, but the file contents indicate it could be several different things. For example, in issue #36 it would be nice to be able to determine the mime type based on both the file extension and the file contents.

@minad minad merged commit 2a021c6 into mimemagicrb:master May 27, 2016
@mimemagicrb mimemagicrb locked as resolved and limited conversation to collaborators Mar 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants