| 53 | } |
| 54 | |
| 55 | static int64_t tic_number(const char *text, int64_t fallback) { |
| 56 | if (!text || !*text) { |
| 57 | return fallback; |
| 58 | } |
| 59 | char *end = NULL; |
| 60 | long long value = strtoll(text, &end, 10); |
| 61 | return end && !*end && value > 0 ? (int64_t)value : -1; |
| 62 | } |
| 63 | |
| 64 | /* <cache>/test-impact unless --work names another private parent. */ |
| 65 | static const char *tic_work(const char *requested, char *buf, size_t cap) { |
no outgoing calls
no test coverage detected