Home | Trees | Index | Help |
---|
Package twisted :: Package persisted :: Module filepile :: Class FilePile |
|
Method Summary | |
---|---|
Create a FilePile. | |
Return me. | |
Return an iterator that goes backwards over me. | |
Create an item with proper extensions at the given itemPath. | |
itemPath('1','2','3') => '<self.dirname>/1.pile/2.pile/3.item' | |
numberedDirectory(self,
*path)
| |
Create an item with proper extensions at the given path. | |
pilePath('1','2','3') => '<self.dirname>/1.pile/2.pile/3.pile' |
Method Details |
---|
__init__(self,
dirname,
loader=<type 'str'>,
pilext='pile',
itemext='item',
cmpfunc=<built-in function cmp>)
Create a FilePile.
|
__iter__(self)Return me. I will act as an iterator that goes forwards over my items. Iterating this will change my cursor, so watch out for concurrent uses! |
backwards(self)Return an iterator that goes backwards over me. This iterator will change my cursor, so watch out for concurrent uses! |
insertLink(self, name, *path)Create an item with proper extensions at the given itemPath.
|
itemPath(self, *path)itemPath('1','2','3') => '<self.dirname>/1.pile/2.pile/3.item' |
numberedLink(self, *path)Create an item with proper extensions at the given path. I use nextFileName; see its documentation for details.
|
pilePath(self, *path)pilePath('1','2','3') => '<self.dirname>/1.pile/2.pile/3.pile' |
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:45:38 2003 | http://epydoc.sf.net |