Class e.p.b.m.f.DirectoryModel(FileModel):

Part of elisa.plugins.base.models.file View In Hierarchy

A directory model is a certain type of elisa.plugins.base.models.file.FileModel with the difference that it can contain other FileModels. They get stored in files.

You can identify a DirectoryModel by doing the isinstance or check if it has the files attribute.

Another slight difference between a Directory and a FileModel is that the size of a directory is always 0 (platform independent).

Instance Variablesfilesfiles in the directory (type: list of FileModels )
Line # Kind Name Docs
64 Method __init__ Undocumented
69 Method get_size Undocumented
72 Method _null Undocumented

Inherited from Bindable (via FileModel, Model):

Line # Kind Name Docs
34 Method bind Bind a local attribute to destination_attribute of
73 Method unbind Remove the binding of attribute to destination_attribute of
104 Method unbind_object Remove all the bindings you have for a certain destination_object.
118 Method __setattr__ Undocumented
136 Method __delattr__ Undocumented
def __init__(self):
Undocumented
def get_size(self):
Undocumented
def _null(self, *args):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.