upload_dir
Uploads a directory to a remote location and returns the remote URI.
def upload_dir(
dir_path: Path,
verify: bool = True,
prefix: str | None = None
) - > str
Uploads a directory to a remote location and returns the remote URI.
Parameters
| Name | Type | Description |
|---|---|---|
| dir_path | Path | The directory path to upload. |
| verify | bool = True | Whether to verify the certificate for HTTPS requests. |
| prefix | `str | None` = None |
Returns
| Type | Description |
|---|---|
str | The remote URI of the uploaded directory. |