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

Function ckpt_unzip

common/script/zip_api.cpp:266–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266void ckpt_unzip(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
267{
268 const ScriptArgs args(Parser, Param, NumArgs, "unzip");
269 const char* zipPath = args.str(0);
270 const char* outDir = args.str(1);
271 ReturnValue->Val->Integer = unzipTo(zipPath, outDir);
272}

Callers

nothing calls this directly

Calls 2

unzipToFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected