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

Function scriptCancelled

common/script/zip_api.cpp:55–58  ·  view source on GitHub ↗

hold-B abort: the script kill switch the per-statement hook can't reach while a long zip/unzip runs, so the framing loops poll it between chunks.

Source from the content-addressed store, hash-verified

53 // hold-B abort: the script kill switch the per-statement hook can't reach
54 // while a long zip/unzip runs, so the framing loops poll it between chunks.
55 bool scriptCancelled(void)
56 {
57 return ckpt_script_abort_requested() != 0;
58 }
59
60 // ---- stdio-backed TransferProto seams --------------------------------
61

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected