MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_download_to_file

Function cbm_download_to_file

src/cli/cli.c:3009–3012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3007/* ── Download helper (shell-free curl via exec) ───────────────── */
3008
3009static int cbm_download_to_file(const char *url, const char *dest) {
3010 const char *argv[] = {"curl", "-fSL", "--progress-bar", "-o", dest, url, NULL};
3011 return cbm_exec_no_shell(argv);
3012}
3013
3014static int cbm_download_to_file_quiet(const char *url, const char *dest) {
3015 const char *argv[] = {"curl", "-fsSL", "-o", dest, url, NULL};

Callers 1

download_verify_installFunction · 0.85

Calls 1

cbm_exec_no_shellFunction · 0.85

Tested by

no test coverage detected