-
-
Notifications
You must be signed in to change notification settings - Fork 16
Refactor file type check (lazy and only 1024 bytes) #30
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
Conversation
chshersh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That pretty much implements exactly how I wanted it to be implemented!
I left only a couple of minor comments.
|
I think I addressed everything in (8df2944) - also removed some of the helper functions from the module now that the type is simpler. |
chshersh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice simplification!
Noticed one last minor thing but overall looks great!
chshersh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again!
I'm glad the fixed turned out to be relatively simple and short 🙂
|
Nice fix! Just checked it and it works as expected 🔝 💯 |
Closes #29 (regression the binary check introduced).
I wasn't sure what the shape of
Filec.tshould be now - so as a first pass I left it but made the other changes suggested in #29.