Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

some backward compatability aliases to ffi-ssdeep

  • Loading branch information...
commit 089cde1e1494e6594df02ea18f223232ec53e4c0 1 parent 0043282
@emonti authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/ssdeep.rb
View
6 lib/ssdeep.rb
@@ -47,6 +47,12 @@ def fuzzy_match(other, threshold=25)
return (fuzzy_score(other) >= [threshold, 100].min)
end
end
+
+ class << self
+ alias :hash_string :from_string
+ alias :hash_file :from_file
+ alias :hash_fileno :from_fileno
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.