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

Function cli_download_protocol

src/cli/cli.c:6905–6913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6903}
6904
6905static const char *cli_download_protocol(const char *url) {
6906 if (url && strncmp(url, "https://", 8) == 0) {
6907 return "=https";
6908 }
6909 if (url && strncmp(url, "file://", 7) == 0 && cli_download_is_explicit_file_override(url)) {
6910 return "=file";
6911 }
6912 return NULL;
6913}
6914
6915/* Download primitives: update was their only caller. */
6916static 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