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

Function git_env_fold

src/foundation/git_env.c:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35};
36
37static char git_env_fold(char c) {
38#ifdef _WIN32
39 return (c >= 'a' && c <= 'z') ? (char)(c - 'a' + 'A') : c;
40#else
41 return c;
42#endif
43}
44
45/* Does the name part of `entry` (up to '=' or `name_len` chars) equal `var`? */
46static bool git_env_name_equals(const char *entry, size_t name_len, const char *var) {

Callers 1

git_env_name_equalsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected