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

Function ckpt_zip_dir

common/script/zip_api.cpp:258–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258void ckpt_zip_dir(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
259{
260 const ScriptArgs args(Parser, Param, NumArgs, "zip_dir");
261 const char* srcDir = args.str(0);
262 const char* outZipPath = args.str(1);
263 ReturnValue->Val->Integer = zipDir(srcDir, outZipPath);
264}
265
266void ckpt_unzip(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
267{

Callers

nothing calls this directly

Calls 2

zipDirFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected