MCPcopy Create free account
hub / github.com/git/git / record_ieot

Function record_ieot

read-cache.c:2774–2787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2772}
2773
2774static int record_ieot(void)
2775{
2776 int val;
2777
2778 if (!repo_config_get_bool(the_repository, "index.recordoffsettable", &val))
2779 return val;
2780
2781 /*
2782 * As a convenience, the offset table used for threading is
2783 * written by default if the user explicitly requested
2784 * threaded index reads.
2785 */
2786 return !repo_config_get_index_threads(the_repository, &val) && val != 1;
2787}
2788
2789enum write_extensions {
2790 WRITE_NO_EXTENSION = 0,

Callers 1

do_write_indexFunction · 0.85

Calls 2

repo_config_get_boolFunction · 0.85

Tested by

no test coverage detected