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

Function ckpt_url_encode

common/script/checkpoint_api.cpp:575–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573}
574
575void ckpt_url_encode(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
576{
577 const char* s = ScriptArgs(Parser, Param, NumArgs, "url_encode").str(0);
578 ReturnValue->Val->Pointer = strToRet(Http::encode(s));
579}
580
581/* ---- gui -------------------------------------------------------------- */
582

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