-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feat-Ruby: add crc32, sha1, and md5 function #54
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #54 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 29 17 -12
Lines 305 135 -170
Branches 4 0 -4
==========================================
- Hits 305 135 -170
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
a few notes. but it would be nice if there is documentation for each functions.
|
||
module Pehape | ||
def self.sha1_file(filename, binary=nil) | ||
return false unless File.exist?(filename.to_s) |
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.
kalo di php emang dia return false kalo filenya ngga exist?
|
||
module Pehape | ||
def self.md5_file(filename, binary=nil) | ||
return false unless File.exist?(filename.to_s) |
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.
kalo di php emang dia return false kalo file ngga exists?
Issue: #3