| 155 | } |
| 156 | |
| 157 | static bool is_http_status_ok(int status) { |
| 158 | return status >= 200 && status < 400; |
| 159 | } |
| 160 | |
| 161 | std::pair<std::string, std::string> common_download_split_repo_tag(const std::string & hf_repo_with_tag) { |
| 162 | auto parts = string_split<std::string>(hf_repo_with_tag, ':'); |
no outgoing calls
no test coverage detected