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

Function patch_id_add_string

diff.c:6881–6884  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6879}
6880
6881static void patch_id_add_string(struct git_hash_ctx *ctx, const char *str)
6882{
6883 git_hash_update(ctx, str, strlen(str));
6884}
6885
6886static void patch_id_add_mode(struct git_hash_ctx *ctx, unsigned mode)
6887{

Callers 1

diff_get_patch_idFunction · 0.85

Calls 1

git_hash_updateFunction · 0.85

Tested by

no test coverage detected