MCPcopy Create free account
hub / github.com/LagPixelLOL/ChatGPTCLIBot / progress_callback

Function progress_callback

main/interface/network/RequestObject.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 }
19
20 int progress_callback(const std::function<int(curl_off_t, curl_off_t, curl_off_t, curl_off_t)>* callback,
21 curl_off_t dl_total, curl_off_t dl_now, curl_off_t ul_total, curl_off_t ul_now) {
22 return (*callback)(dl_total, dl_now, ul_total, ul_now);
23 }
24
25 //class RequestObject start:
26 RequestObject::RequestObject() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected