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

Function parse_oid_hex_any

hex.c:68–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68int parse_oid_hex_any(const char *hex, struct object_id *oid, const char **end)
69{
70 int ret = get_oid_hex_any(hex, oid);
71 if (ret)
72 *end = hex + hash_algos[ret].hexsz;
73 return ret;
74}
75
76int parse_oid_hex(const char *hex, struct object_id *oid, const char **end)
77{

Callers 3

cmd__repositoryFunction · 0.85
parse_mapped_oid_hexFunction · 0.85

Calls 1

get_oid_hex_anyFunction · 0.85

Tested by 2

cmd__repositoryFunction · 0.68