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

Function similarity_index

diff.c:4837–4840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4835}
4836
4837static int similarity_index(struct diff_filepair *p)
4838{
4839 return p->score * 100 / MAX_SCORE;
4840}
4841
4842static const char *diff_abbrev_oid(const struct object_id *oid, int abbrev)
4843{

Callers 4

fill_metainfoFunction · 0.85
diff_flush_rawFunction · 0.85
show_rename_copyFunction · 0.85
diff_summaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected