Image files/directories¶
- class contree_sdk.sdk.objects.image_fs.ImageDirectory(size, path, uid, gid, mode, mtime, nlink, symlink_to, is_dir, is_regular, is_socket, is_fifo, is_symlink, owner, group, _image, _path)[source]¶
- async ls(path='')[source]¶
- Return type:
list[ImageFile|ImageDirectory]
- property full_path: Path¶
- property is_file¶
- property name: str¶
- is_dir: Literal[True]¶
- size: int¶
- path: str¶
- uid: int¶
- gid: int¶
- mode: int¶
- mtime: int¶
- nlink: int¶
- symlink_to: str¶
- is_regular: bool¶
- is_socket: bool¶
- is_fifo: bool¶
- is_symlink: bool¶
- owner: str¶
- group: str¶
- class contree_sdk.sdk.objects.image_fs.ImageDirectorySync(size, path, uid, gid, mode, mtime, nlink, symlink_to, is_dir, is_regular, is_socket, is_fifo, is_symlink, owner, group, _image, _path)[source]¶
- ls(path='')[source]¶
- Return type:
list[ImageFileSync|ImageDirectorySync]
- property full_path: Path¶
- property is_file¶
- property name: str¶
- is_dir: Literal[True]¶
- size: int¶
- path: str¶
- uid: int¶
- gid: int¶
- mode: int¶
- mtime: int¶
- nlink: int¶
- symlink_to: str¶
- is_regular: bool¶
- is_socket: bool¶
- is_fifo: bool¶
- is_symlink: bool¶
- owner: str¶
- group: str¶
- class contree_sdk.sdk.objects.image_fs.ImageFile(size, path, uid, gid, mode, mtime, nlink, symlink_to, is_dir, is_regular, is_socket, is_fifo, is_symlink, owner, group, _image, _path)[source]¶
-
- property full_path: Path¶
- property is_file¶
- property name: str¶
- is_dir: Literal[False]¶
- size: int¶
- path: str¶
- uid: int¶
- gid: int¶
- mode: int¶
- mtime: int¶
- nlink: int¶
- symlink_to: str¶
- is_regular: bool¶
- is_socket: bool¶
- is_fifo: bool¶
- is_symlink: bool¶
- owner: str¶
- group: str¶
- class contree_sdk.sdk.objects.image_fs.ImageFileSync(size, path, uid, gid, mode, mtime, nlink, symlink_to, is_dir, is_regular, is_socket, is_fifo, is_symlink, owner, group, _image, _path)[source]¶
-
- property full_path: Path¶
- property is_file¶
- property name: str¶
- is_dir: Literal[False]¶
- size: int¶
- path: str¶
- uid: int¶
- gid: int¶
- mode: int¶
- mtime: int¶
- nlink: int¶
- symlink_to: str¶
- is_regular: bool¶
- is_socket: bool¶
- is_fifo: bool¶
- is_symlink: bool¶
- owner: str¶
- group: str¶