diff options
author | Marc Pegon <pegon.marc@gmail.com> | 2011-05-27 22:37:10 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-06-01 23:40:41 +0200 |
commit | 53c0bd81a2915d6f82ef2f9c0703770783a3dc89 (patch) | |
tree | e34fd5f5cd97b9738a49588fa889c8ee6819a63a /src/oid.h | |
parent | ecd6fdf1f70b785f24e2d17bec516ac88be0cf2c (diff) | |
download | libgit2-53c0bd81a2915d6f82ef2f9c0703770783a3dc89.tar.gz |
Added error for ambiguous oid prefixes. Added methods to compare the first nth hexadecimal characters (i.e. packets of 4 bits) of OIDs.
Diffstat (limited to 'src/oid.h')
-rw-r--r-- | src/oid.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/oid.h b/src/oid.h new file mode 100644 index 000000000..79f5b6507 --- /dev/null +++ b/src/oid.h @@ -0,0 +1,7 @@ +#ifndef INCLUDE_oid_h__ +#define INCLUDE_oid_h__ + +/* This can be useful for internal use */ +int git_oid_match_raw(unsigned int len, const unsigned char *a, const unsigned char *b); + +#endif |