| 151 | } |
| 152 | |
| 153 | int read_bundle_header(const char *path, struct bundle_header *header) |
| 154 | { |
| 155 | int fd = open(path, O_RDONLY); |
| 156 | |
| 157 | if (fd < 0) |
| 158 | return error(_("could not open '%s'"), path); |
| 159 | return read_bundle_header_fd(fd, header, path); |
| 160 | } |
| 161 | |
| 162 | int is_bundle(const char *path, int quiet) |
| 163 | { |
no test coverage detected