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
deb file incorrectly matching to ar #126
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a deb file and after running the following code I get kind.Extension is
ar
instead ofdeb
Output
On other tries, I see the following output
I'm guessing that it's due to arMagic and debMagic sharing the same first 7 bytes and that the ar matcher is sometimes running before deb matcher. Since arMagic and debMagic are added to a map, there's no guarantee as to the order when they get registered.
The text was updated successfully, but these errors were encountered: