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

Function main_resolve_executable

src/main.c:1411–1415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1409#endif /* _WIN32 */
1410
1411static bool main_resolve_executable(const char *argv0, char out[MAIN_PATH_CAP]) {
1412 char resolved[MAIN_PATH_CAP];
1413 return cbm_http_server_resolve_binary_path(argv0, resolved, sizeof(resolved)) &&
1414 cbm_canonical_path(resolved, out, MAIN_PATH_CAP);
1415}
1416
1417typedef enum {
1418 MAIN_BUILD_IDENTITY_OK = 0,

Callers 1

mainFunction · 0.85

Calls 2

cbm_canonical_pathFunction · 0.85

Tested by

no test coverage detected