MCPcopy Index your code
hub / github.com/git/git / inc_mod

Function inc_mod

add-patch.c:1591–1594  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1589}
1590
1591static size_t inc_mod(size_t a, size_t m)
1592{
1593 return a < m - 1 ? a + 1 : 0;
1594}
1595
1596static bool get_first_undecided(const struct file_diff *file_diff, size_t *idx)
1597{

Callers 1

patch_update_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected