Browse Source

added fs class

fs_class
Raphael Roberts 7 years ago
parent
commit
92bab46fec
  1. 23
      fs_class.py

23
fs_class.py

@ -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):
pass
def morph(self,other):
pass
def backup(self,other):
pass
Loading…
Cancel
Save