| Home | Trees | Index | Help |
|
|---|
| Package viindex :: Module filesdb :: Class FilesDB |
|
| Method Summary | |
|---|---|
__init__([<file name,default=indexer_files.db>] | |
add_newfile(<file name to add>,[attrs=<attributes to add in self.files,default={}>] | |
check_integrity(self)
| |
clean(self)
| |
get_fileid(<file name>) get the fileid if a specific file | |
get_filanem(<fileid>) get the filename of a specific fileid | |
load() load the dictionary from the file to self.files. | |
save() to save self.files in the file. | |
| Method Details |
|---|
__init__(self,
fname='indexer_files.db')
__init__([<file name,default=indexer_files.db>]
|
add_newfile(self, file, attrs={})add_newfile(<file name to add>,[attrs=<attributes to add in self.files,default={}>] |
get_fileid(self, file)get_fileid(<file name>) get the fileid if a specific file |
get_filename(self, fileid)get_filanem(<fileid>) get the filename of a specific fileid |
load(self)load() load the dictionary from the file to self.files. |
save(self)save() to save self.files in the file. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 1.1 on Wed Aug 27 15:42:19 2003 | http://epydoc.sf.net |