MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / abortOnScriptCancel

Function abortOnScriptCancel

common/script/httpcall.cpp:68–71  ·  view source on GitHub ↗

Nonzero aborts the transfer: a script being aborted mustn't sit in a transfer it can't reach the per-statement abort hook from.

Source from the content-addressed store, hash-verified

66 // Nonzero aborts the transfer: a script being aborted mustn't sit in a
67 // transfer it can't reach the per-statement abort hook from.
68 int abortOnScriptCancel(void*, curl_off_t, curl_off_t, curl_off_t, curl_off_t)
69 {
70 return ckpt_script_abort_requested();
71 }
72
73 // Upload progress: drives the console's reserved innermost bar, so a script
74 // uploading N files gets a byte-level bar under its own file-level bar

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected