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

Function ha_is_env_assign

src/cli/hook_augment.c:1202–1211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1200}
1201
1202static bool ha_is_env_assign(const char *t) {
1203 if (!t || !t[0])
1204 return false;
1205 if (!isalpha((unsigned char)t[0]) && t[0] != '_')
1206 return false;
1207 const char *p = t + 1;
1208 while (isalnum((unsigned char)*p) || *p == '_')
1209 p++;
1210 return *p == '=';
1211}
1212
1213typedef enum { HA_BIN_GREP, HA_BIN_RG, HA_BIN_AG, HA_BIN_ACK, HA_BIN_UGREP } ha_bin_t;
1214

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected