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

Function emit_diff_symbol

diff.c:1633–1644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1631}
1632
1633static void emit_diff_symbol(struct diff_options *o, enum diff_symbol s,
1634 const char *line, int len, unsigned flags)
1635{
1636 struct emitted_diff_symbol e = {
1637 .line = line, .len = len, .flags = flags, .s = s
1638 };
1639
1640 if (o->emitted_symbols)
1641 append_emitted_diff_symbol(o, &e);
1642 else
1643 emit_diff_symbol_from_struct(o, &e);
1644}
1645
1646void diff_emit_submodule_del(struct diff_options *o, const char *line)
1647{

Callers 15

diff_emit_submodule_delFunction · 0.85
diff_emit_submodule_addFunction · 0.85
emit_add_lineFunction · 0.85
emit_del_lineFunction · 0.85
emit_context_lineFunction · 0.85
emit_hunk_headerFunction · 0.85

Calls 2

Tested by

no test coverage detected