| 50 | } |
| 51 | |
| 52 | static void strbuf_cleanup_path(struct strbuf *sb) |
| 53 | { |
| 54 | const char *path = cleanup_path(sb->buf); |
| 55 | if (path > sb->buf) |
| 56 | strbuf_remove(sb, 0, path - sb->buf); |
| 57 | } |
| 58 | |
| 59 | int dir_prefix(const char *buf, const char *dir) |
| 60 | { |
no test coverage detected