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

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

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

You can identify a DirectoryModel by doing the isinstance on it or check the media_type. This always returns 'directory' on directory models.

Another slight difference between a Directory and a FileModel is that the size of a directory is always 0 (platform independent).
Line # Kind Name Docs
32 Method __init__ Undocumented
36 Method get_media_type Undocumented
39 Method get_size Undocumented
def __init__(self):
Undocumented
def get_media_type(self):
Undocumented
def get_size(self):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2008-08-11 20:05:11.