Browse Source

Only using imohash this time

fs_class
Raphael Roberts 7 years ago
parent
commit
d75f659408
  1. 6
      fs_class.py

6
fs_class.py

@ -1,8 +1,8 @@
#/usr/bin/python
def hash_file(path):
def hash_file(path,hash_if_less,sample):
return _imohash(path,hash_if_less,sample)
class fs:
def __init__(self,top,db_path=None,hash_threshold=1024**2):
def __init__(self,top,db_path=None,hash_threshold=1024**2,sample=128*1024):
self.top=top
self.hash_threshold=hash_threshold
if db_path is not None:

Loading…
Cancel
Save