#include "git-compat-util.h" #include "oidset.h" #include "hex.h" #include "strbuf.h" void oidset_init(struct oidset *set, size_t initial_size) { … } int oidset_contains(const struct oidset *set, const struct object_id *oid) { … } int oidset_insert(struct oidset *set, const struct object_id *oid) { … } void oidset_insert_from_set(struct oidset *dest, struct oidset *src) { … } int oidset_remove(struct oidset *set, const struct object_id *oid) { … } void oidset_clear(struct oidset *set) { … } void oidset_parse_file(struct oidset *set, const char *path, const struct git_hash_algo *algop) { … } void oidset_parse_file_carefully(struct oidset *set, const char *path, const struct git_hash_algo *algop, oidset_parse_tweak_fn fn, void *cbdata) { … }