summaryrefslogtreecommitdiff
path: root/src/diff_driver.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-11-30 12:14:43 +0100
committerPatrick Steinhardt <ps@pks.im>2019-02-15 13:16:48 +0100
commit7e926ef306166993131628b41a13f2b26aaf43de (patch)
tree30f8c5930e015536087077fd60aa0f75d0e9f6f9 /src/diff_driver.c
parent351eeff3b2a666b8ead5302c1130629597438df6 (diff)
downloadlibgit2-7e926ef306166993131628b41a13f2b26aaf43de.tar.gz
maps: provide a uniform entry count interface
There currently exist two different function names for getting the entry count of maps, where offmaps offset and string maps use `num_entries` and OID maps use `size`. In most programming languages with built-in map types, this is simply called `size`, which is also shorter to type. Thus, this commit renames the other two functions `num_entries` to match the common way and adjusts all callers.
Diffstat (limited to 'src/diff_driver.c')
0 files changed, 0 insertions, 0 deletions