summaryrefslogtreecommitdiff
path: root/include/git2/sys/diff.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-12-06 12:26:04 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2014-12-06 12:26:04 -0500
commitf2e09b8aac1e107a3a02f2831b46d5b4367cd5ca (patch)
tree231e6871e87fa93c1c868ccb50d72312c9263b07 /include/git2/sys/diff.h
parent013924c17c03c42bce363ea1ddc949444164c2bc (diff)
parenta295bd2dc4a1ac2b15b9c39089d148499e6e9e00 (diff)
downloadlibgit2-f2e09b8aac1e107a3a02f2831b46d5b4367cd5ca.tar.gz
Merge pull request #2748 from libgit2/cmn/doc-all
doc: add documentation to all the public structs and enums
Diffstat (limited to 'include/git2/sys/diff.h')
-rw-r--r--include/git2/sys/diff.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/git2/sys/diff.h b/include/git2/sys/diff.h
index 48d72f4f9..034d5c478 100644
--- a/include/git2/sys/diff.h
+++ b/include/git2/sys/diff.h
@@ -61,10 +61,13 @@ GIT_EXTERN(int) git_diff_print_callback__to_file_handle(
void *payload); /*< payload must be a `FILE *` */
+/**
+ * Performance data from diffing
+ */
typedef struct {
unsigned int version;
- size_t stat_calls;
- size_t oid_calculations;
+ size_t stat_calls; /*< Number of stat() calls performed */
+ size_t oid_calculations; /*< Number of ID calculations */
} git_diff_perfdata;
#define GIT_DIFF_PERFDATA_VERSION 1