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

Function cli_download_protocol

src/cli/cli.c:7218–7226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7216}
7217
7218static const char *cli_download_protocol(const char *url) {
7219 if (url && strncmp(url, "https://", 8) == 0) {
7220 return "=https";
7221 }
7222 if (url && strncmp(url, "file://", 7) == 0 && cli_download_is_explicit_file_override(url)) {
7223 return "=file";
7224 }
7225 return NULL;
7226}
7227
7228/* Download primitives: update was their only caller. */
7229static int cbm_download_to_file(const char *url, const char *dest) {

Callers 2

cbm_download_to_fileFunction · 0.85

Tested by

no test coverage detected