> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokenfactory.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Image files/directories

<a id="contree_sdk.sdk.objects.image_fs.ImageDirectory" />

## `class ImageDirectory`

```python theme={null}
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)
```

<div className="pl-4 ml-1 my-4">
  ### Attributes

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.full_path" />

  <ResponseField name="full_path" type="PurePosixPath" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.is_file" />

  <ResponseField name="is_file" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.name" />

  <ResponseField name="name" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.is_dir" />

  <ResponseField name="is_dir" type="Literal[True]" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.size" />

  <ResponseField name="size" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.path" />

  <ResponseField name="path" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.uid" />

  <ResponseField name="uid" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.gid" />

  <ResponseField name="gid" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.mode" />

  <ResponseField name="mode" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.mtime" />

  <ResponseField name="mtime" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.nlink" />

  <ResponseField name="nlink" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.symlink_to" />

  <ResponseField name="symlink_to" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.is_regular" />

  <ResponseField name="is_regular" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.is_socket" />

  <ResponseField name="is_socket" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.is_fifo" />

  <ResponseField name="is_fifo" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.is_symlink" />

  <ResponseField name="is_symlink" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.owner" />

  <ResponseField name="owner" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.group" />

  <ResponseField name="group" type="str" />

  ### Methods

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectory.ls" />

  #### `ls()`

  ```python theme={null}
  async def ls(path) -> list[ImageFile | ImageDirectory]
  ```

  <ParamField path="path" default="''" />

  <ResponseField name="returns" type="list[ImageFile | ImageDirectory]">
    list\[[`ImageFile`](./image_fs#contree_sdk.sdk.objects.image_fs.ImageFile) | [`ImageDirectory`](./image_fs#contree_sdk.sdk.objects.image_fs.ImageDirectory)]
  </ResponseField>
</div>

<a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync" />

## `class ImageDirectorySync`

```python theme={null}
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)
```

<div className="pl-4 ml-1 my-4">
  ### Attributes

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.full_path" />

  <ResponseField name="full_path" type="PurePosixPath" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.is_file" />

  <ResponseField name="is_file" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.name" />

  <ResponseField name="name" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.is_dir" />

  <ResponseField name="is_dir" type="Literal[True]" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.size" />

  <ResponseField name="size" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.path" />

  <ResponseField name="path" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.uid" />

  <ResponseField name="uid" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.gid" />

  <ResponseField name="gid" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.mode" />

  <ResponseField name="mode" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.mtime" />

  <ResponseField name="mtime" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.nlink" />

  <ResponseField name="nlink" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.symlink_to" />

  <ResponseField name="symlink_to" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.is_regular" />

  <ResponseField name="is_regular" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.is_socket" />

  <ResponseField name="is_socket" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.is_fifo" />

  <ResponseField name="is_fifo" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.is_symlink" />

  <ResponseField name="is_symlink" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.owner" />

  <ResponseField name="owner" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.group" />

  <ResponseField name="group" type="str" />

  ### Methods

  <a id="contree_sdk.sdk.objects.image_fs.ImageDirectorySync.ls" />

  #### `ls()`

  ```python theme={null}
  def ls(path) -> list[ImageFileSync | ImageDirectorySync]
  ```

  <ParamField path="path" default="''" />

  <ResponseField name="returns" type="list[ImageFileSync | ImageDirectorySync]">
    list\[[`ImageFileSync`](./image_fs#contree_sdk.sdk.objects.image_fs.ImageFileSync) | [`ImageDirectorySync`](./image_fs#contree_sdk.sdk.objects.image_fs.ImageDirectorySync)]
  </ResponseField>
</div>

<a id="contree_sdk.sdk.objects.image_fs.ImageFile" />

## `class ImageFile`

```python theme={null}
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)
```

<div className="pl-4 ml-1 my-4">
  ### Attributes

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.full_path" />

  <ResponseField name="full_path" type="PurePosixPath" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.is_file" />

  <ResponseField name="is_file" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.name" />

  <ResponseField name="name" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.is_dir" />

  <ResponseField name="is_dir" type="Literal[False]" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.size" />

  <ResponseField name="size" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.path" />

  <ResponseField name="path" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.uid" />

  <ResponseField name="uid" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.gid" />

  <ResponseField name="gid" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.mode" />

  <ResponseField name="mode" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.mtime" />

  <ResponseField name="mtime" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.nlink" />

  <ResponseField name="nlink" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.symlink_to" />

  <ResponseField name="symlink_to" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.is_regular" />

  <ResponseField name="is_regular" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.is_socket" />

  <ResponseField name="is_socket" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.is_fifo" />

  <ResponseField name="is_fifo" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.is_symlink" />

  <ResponseField name="is_symlink" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.owner" />

  <ResponseField name="owner" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.group" />

  <ResponseField name="group" type="str" />

  ### Methods

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.download" />

  #### `download()`

  ```python theme={null}
  async def download(local_path) -> Path
  ```

  <ParamField path="local_path" default="None" />

  <ResponseField name="returns" type="Path" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFile.read" />

  #### `read()`

  ```python theme={null}
  async def read() -> bytes
  ```

  <ResponseField name="returns" type="bytes" />
</div>

<a id="contree_sdk.sdk.objects.image_fs.ImageFileSync" />

## `class ImageFileSync`

```python theme={null}
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)
```

<div className="pl-4 ml-1 my-4">
  ### Attributes

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.full_path" />

  <ResponseField name="full_path" type="PurePosixPath" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.is_file" />

  <ResponseField name="is_file" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.name" />

  <ResponseField name="name" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.is_dir" />

  <ResponseField name="is_dir" type="Literal[False]" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.size" />

  <ResponseField name="size" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.path" />

  <ResponseField name="path" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.uid" />

  <ResponseField name="uid" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.gid" />

  <ResponseField name="gid" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.mode" />

  <ResponseField name="mode" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.mtime" />

  <ResponseField name="mtime" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.nlink" />

  <ResponseField name="nlink" type="int" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.symlink_to" />

  <ResponseField name="symlink_to" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.is_regular" />

  <ResponseField name="is_regular" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.is_socket" />

  <ResponseField name="is_socket" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.is_fifo" />

  <ResponseField name="is_fifo" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.is_symlink" />

  <ResponseField name="is_symlink" type="bool" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.owner" />

  <ResponseField name="owner" type="str" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.group" />

  <ResponseField name="group" type="str" />

  ### Methods

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.download" />

  #### `download()`

  ```python theme={null}
  def download(local_path) -> Path
  ```

  <ParamField path="local_path" default="None" />

  <ResponseField name="returns" type="Path" />

  <a id="contree_sdk.sdk.objects.image_fs.ImageFileSync.read" />

  #### `read()`

  ```python theme={null}
  def read() -> bytes
  ```

  <ResponseField name="returns" type="bytes" />
</div>
