Permalink
Cannot retrieve contributors at this time
Switch branches/tags
v2.14.0-rc1
v2.14.0-rc0
v2.13.3
v2.13.2
v2.13.1
v2.13.0
v2.13.0-rc2
v2.13.0-rc1
v2.13.0-rc0
v2.12.3
v2.12.2
v2.12.1
v2.12.0
v2.12.0-rc2
v2.12.0-rc1
v2.12.0-rc0
v2.11.2
v2.11.1
v2.11.0
v2.11.0-rc3
v2.11.0-rc2
v2.11.0-rc1
v2.11.0-rc0
v2.10.3
v2.10.2
v2.10.1
v2.10.0
v2.10.0-rc2
v2.10.0-rc1
v2.10.0-rc0
v2.9.4
v2.9.3
v2.9.2
v2.9.1
v2.9.0
v2.9.0-rc2
v2.9.0-rc1
v2.9.0-rc0
v2.8.5
v2.8.4
v2.8.3
v2.8.2
v2.8.1
v2.8.0
v2.8.0-rc4
v2.8.0-rc3
v2.8.0-rc2
v2.8.0-rc1
v2.8.0-rc0
v2.7.5
v2.7.4
v2.7.3
v2.7.2
v2.7.1
v2.7.0
v2.7.0-rc3
v2.7.0-rc2
v2.7.0-rc1
v2.7.0-rc0
v2.6.7
v2.6.6
v2.6.5
v2.6.4
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v2.6.0-rc3
v2.6.0-rc2
v2.6.0-rc1
v2.6.0-rc0
v2.5.6
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.5.0-rc3
v2.5.0-rc2
v2.5.0-rc1
v2.5.0-rc0
v2.4.12
v2.4.11
v2.4.10
v2.4.9
v2.4.8
v2.4.7
v2.4.6
v2.4.5
v2.4.4
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.4.0-rc3
v2.4.0-rc2
v2.4.0-rc1
v2.4.0-rc0
v2.3.10
Nothing to show
git/sha1-array.h
Fetching contributors…
| #ifndef SHA1_ARRAY_H | |
| #define SHA1_ARRAY_H | |
| struct oid_array { | |
| struct object_id *oid; | |
| int nr; | |
| int alloc; | |
| int sorted; | |
| }; | |
| #define OID_ARRAY_INIT { NULL, 0, 0, 0 } | |
| void oid_array_append(struct oid_array *array, const struct object_id *oid); | |
| int oid_array_lookup(struct oid_array *array, const struct object_id *oid); | |
| void oid_array_clear(struct oid_array *array); | |
| typedef int (*for_each_oid_fn)(const struct object_id *oid, | |
| void *data); | |
| int oid_array_for_each_unique(struct oid_array *array, | |
| for_each_oid_fn fn, | |
| void *data); | |
| #endif /* SHA1_ARRAY_H */ |