Part of elisa.plugins.base.models.file View In Hierarchy
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 Variables | files | files in the directory
(type: list of FileModel s
) |
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 |