]> git.ipfire.org Git - thirdparty/git.git/blobdiff - oidset.h
The sixth batch
[thirdparty/git.git] / oidset.h
index 3a2d9d1115a45e47a93fa3950ad91a0eb1af4c7c..209ae7a1736e49818acc1e05b7f3cb4aceada0fe 100644 (file)
--- a/oidset.h
+++ b/oidset.h
@@ -54,6 +54,11 @@ int oidset_insert(struct oidset *set, const struct object_id *oid);
  */
 int oidset_remove(struct oidset *set, const struct object_id *oid);
 
+/**
+ * Returns the number of oids in the set.
+ */
+int oidset_size(struct oidset *set);
+
 /**
  * Remove all entries from the oidset, freeing any resources associated with
  * it.