filesystem_utils
最后更新
hubai_sdk.utils.filesystem_utils函数
download_from_remote
Python
1def download_from_remote(url: str, dest: Path | str, max_files: int = -1) -> Path:get_protocol
Python
1def get_protocol(url: str) -> str:resolve_path
Python
1def resolve_path(string: str, dest: Path) -> Path:upload_to_remote
Python
1def upload_to_remote(local_path: Path | str, url: str, put_file_plugin: str | None = None):