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

Function todo_list_write_total_nr

sequencer.c:3002–3010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3000}
3001
3002static void todo_list_write_total_nr(struct todo_list *todo_list)
3003{
3004 FILE *f = fopen_or_warn(rebase_path_msgtotal(), "w");
3005
3006 if (f) {
3007 fprintf(f, "%d\n", todo_list->total_nr);
3008 fclose(f);
3009 }
3010}
3011
3012static int read_populate_todo(struct repository *r,
3013 struct todo_list *todo_list,

Callers 2

read_populate_todoFunction · 0.85
complete_actionFunction · 0.85

Calls 1

fopen_or_warnFunction · 0.85

Tested by

no test coverage detected