@ -0,0 +1,23 @@
#/usr/bin/python
def hash_file(path):
class fs:
def __init__(self,top,db_path=None,hash_threshold=1024**2):
self.top=top
self.hash_threshold=hash_threshold
if db_path is not None:
self.db_path=db_path
else:
self.db_path = 'fs.db'
def from_db(self,top,db_path,_id=0):
pass
def write_to_db(self):
def morph(self,other):
def backup(self,other):