Groovy `"git status".execute`: a quoted receiver, then the api suffix. */
| 458 | |
| 459 | /* Groovy `"git status".execute`: a quoted receiver, then the api suffix. */ |
| 460 | static bool spawn_string_receiver(const char *callee, const char *suffix) { |
| 461 | size_t cl = strlen(callee); |
| 462 | size_t sl = strlen(suffix); |
| 463 | return (callee[0] == '"' || callee[0] == '\'') && cl > sl + 1 && |
| 464 | strcmp(callee + cl - sl, suffix) == 0 && callee[cl - sl - 1] == callee[0]; |
| 465 | } |
| 466 | |
| 467 | static bool spawn_entry_matches(const cbm_spawn_api_t *e, const char *callee, const char *expanded, |
| 468 | const CBMImport *imports, int count) { |
no outgoing calls
no test coverage detected