| 182 | } |
| 183 | |
| 184 | static bool gf_object(gf_fixture_t *fx, const char *type, const void *bytes, size_t length, |
| 185 | char out[65]) { |
| 186 | const char *argv[] = {"hash-object", "-w", "--no-filters", "-t", |
| 187 | type, "--", fx->object_file, NULL}; |
| 188 | return gf_write(fx->object_file, bytes, length) && gf_oid(fx, argv, out); |
| 189 | } |
| 190 | |
| 191 | static bool gf_index(gf_fixture_t *fx, const char *mode, const char *oid, const char *path) { |
| 192 | char entry[GF_SMALL]; |
no test coverage detected