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

Function get_item_line_offset

sequencer.c:2908–2912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2906}
2907
2908static int get_item_line_offset(struct todo_list *todo_list, int index)
2909{
2910 return index < todo_list->nr ?
2911 todo_list->items[index].offset_in_buf : todo_list->buf.len;
2912}
2913
2914static const char *get_item_line(struct todo_list *todo_list, int index)
2915{

Callers 4

get_item_lineFunction · 0.85
get_item_line_lengthFunction · 0.85
save_todoFunction · 0.85
reread_todo_if_changedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected