OId
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "ggit_oid_get_type ()" ) ]
[ Compact ]
public class OId
Represents a unique ID of any object.
Content:
Creation methods:
Methods:
- public int compare (OId b)
Compare two OId structures.
- public OId? copy ()
Copies this into a newly allocated
OId.
- public bool equal (OId b)
Compares two OId for equality.
- public void free ()
Frees this.
- public bool has_prefix (string prefix)
Check whether the object id has a given prefix.
- public uint hash ()
Computes a hash value for a git object identifier.
- public bool is_zero ()
Get whether the oid contains only zeros.
- public string? to_string ()
Converts this into a readable
string.