oid.c
9.63 KB
-
oid: introduce `git_oid_raw_cpy` · 9ffa33a1
Now that oids are type-aware, they use their type to understand how many bytes to copy. Some callers may need to copy the raw bytes of the object id. This is equivalent to a memcpy that is a little more semantic.
Edward Thomson committed