| 137 | } |
| 138 | |
| 139 | static bool changes_starts(changes_slice_t line, const char *prefix) { |
| 140 | size_t length = strlen(prefix); |
| 141 | return line.length >= length && memcmp(line.bytes, prefix, length) == 0; |
| 142 | } |
| 143 | |
| 144 | static bool changes_line(const unsigned char *bytes, size_t length, size_t *offset, |
| 145 | changes_slice_t *line) { |
no outgoing calls
no test coverage detected