MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / is_http_status_ok

Function is_http_status_ok

subprojects/llama.cpp/common/download.cpp:157–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157static bool is_http_status_ok(int status) {
158 return status >= 200 && status < 400;
159}
160
161std::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, ':');

Callers 3

common_download_modelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected