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

Function ckpt_url_encode

common/script/checkpoint_api.cpp:513–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513void ckpt_url_encode(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
514{
515 const char* s = ScriptArgs(Parser, Param, NumArgs, "url_encode").str(0);
516 ReturnValue->Val->Pointer = strToRet(Http::encode(s));
517}
518
519/* ---- gui -------------------------------------------------------------- */
520

Callers

nothing calls this directly

Calls 4

ScriptArgsClass · 0.85
strToRetFunction · 0.85
encodeFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected