oid: introduce `git_oid_raw_cpy`
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.
Showing
Please
register
or
sign in
to comment