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

Function main_resolve_executable

src/main.c:1166–1170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1164#endif /* _WIN32 */
1165
1166static bool main_resolve_executable(const char *argv0, char out[MAIN_PATH_CAP]) {
1167 char resolved[MAIN_PATH_CAP];
1168 return cbm_http_server_resolve_binary_path(argv0, resolved, sizeof(resolved)) &&
1169 cbm_canonical_path(resolved, out, MAIN_PATH_CAP);
1170}
1171
1172typedef enum {
1173 MAIN_BUILD_IDENTITY_OK = 0,

Callers 1

mainFunction · 0.85

Calls 2

cbm_canonical_pathFunction · 0.85

Tested by

no test coverage detected