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

Function fill_fsmonitor_bitmap

fsmonitor.c:109–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void fill_fsmonitor_bitmap(struct index_state *istate)
110{
111 unsigned int i, skipped = 0;
112 istate->fsmonitor_dirty = ewah_new();
113 for (i = 0; i < istate->cache_nr; i++) {
114 if (istate->cache[i]->ce_flags & CE_REMOVE)
115 skipped++;
116 else if (!(istate->cache[i]->ce_flags & CE_FSMONITOR_VALID))
117 ewah_set(istate->fsmonitor_dirty, i - skipped);
118 }
119}
120
121void write_fsmonitor_extension(struct strbuf *sb, struct index_state *istate)
122{

Callers 1

write_locked_indexFunction · 0.85

Calls 2

ewah_newFunction · 0.85
ewah_setFunction · 0.85

Tested by

no test coverage detected