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.
Line # | Kind | Name | Docs |
---|---|---|---|
32 | Method | __init__ | Undocumented |
36 | Method | get_media_type | Undocumented |
39 | Method | get_size | Undocumented |