Home | Trees | Index | Help |
---|
Package twisted :: Package persisted :: Module filepile :: Class _FilePileStackEntry |
|
Method Summary | |
---|---|
Create a pointer into a directory given with dirname. | |
Jump my pointer position to point at a file who compares as closely as possible to name with self.cmpfunc. | |
If I do not have a cached directory listing, load a directory listing and sort it according to self.cmpfunc. | |
Create a stack entry with similar options for a subpath of the directory I am listing. | |
makeCopy(self)
| |
I AM NOT AN ITERATOR THIS IS JUST A GOOD METHOD NAME. | |
synonym for .next(False) |
Method Details |
---|
__init__(self,
dirname,
loader=<type 'str'>,
pilext='pile',
itemext='item',
cmpfunc=<built-in function cmp>)
Create a pointer into a directory given with dirname. Pass in options
from a parent FilePile. NOTE THAT CMPFUNC WILL BE IGNORED ON
DIRECTORIES THAT HAVE HAD nextFileName USED WITH THE SAME EXTENSION
GIVEN IN ITEMEXT.
|
bisectTo(self, name, adjust=0)Jump my pointer position to point at a file who compares as closely as possible to name with self.cmpfunc. |
listdir(self, forwards=1)If I do not have a cached directory listing, load a directory listing and sort it according to self.cmpfunc. |
makeChild(self, path)Create a stack entry with similar options for a subpath of the directory I am listing. |
next(self, forwards=1)I AM NOT AN ITERATOR THIS IS JUST A GOOD METHOD NAME. Get the next entry (isSubDirectory, itemOr_FilePileStackEntry). If forwards is False, go backwards. |
prev(self)synonym for .next(False) |
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:49:22 2003 | http://epydoc.sf.net |