Does the basename in "path" look plausibly like an rr-cache entry? */
| 1220 | |
| 1221 | /* Does the basename in "path" look plausibly like an rr-cache entry? */ |
| 1222 | static int is_rr_cache_dirname(const char *path) |
| 1223 | { |
| 1224 | struct object_id oid; |
| 1225 | const char *end; |
| 1226 | return !parse_oid_hex(path, &oid, &end) && !*end; |
| 1227 | } |
| 1228 | |
| 1229 | void rerere_gc(struct repository *r, struct string_list *rr) |
| 1230 | { |
no test coverage detected