Mention the fact that 'git annotate' is only for backward compatibility.
[gitweb.git] / delta.h
diff --git a/delta.h b/delta.h
index 7b3f86d85f71e47d11c40a4abbcd9d9f499a6636..40ccf5a1e95f62d840a006274f7024fa43208b1c 100644 (file)
--- a/delta.h
+++ b/delta.h
@@ -23,6 +23,13 @@ create_delta_index(const void *buf, unsigned long bufsize);
  */
 extern void free_delta_index(struct delta_index *index);
 
+/*
+ * sizeof_delta_index: returns memory usage of delta index
+ *
+ * Given pointer must be what create_delta_index() returned, or NULL.
+ */
+extern unsigned long sizeof_delta_index(struct delta_index *index);
+
 /*
  * create_delta: create a delta from given index for the given buffer
  *