Struct

GgitOId

since: 1.0

Description [src]

struct GgitOId {
  /* No available fields */
}

Represents a unique ID of any object.

Available since: 1.0

Constructors

ggit_oid_new_from_raw

Creates a new GgitOId from a raw oid.

since: 1.0

ggit_oid_new_from_string

Parses a hex formatted object id into a GgitOId.

since: 1.0

Instance methods

ggit_oid_compare

Compare two GgitOId structures.

since: 1.0

ggit_oid_copy

Copies oid into a newly allocated GgitOId.

since: 1.0

ggit_oid_equal

Compares two GgitOId for equality.

since: 1.0

ggit_oid_free

Frees oid.

since: 1.0

ggit_oid_has_prefix

Check whether the object id has a given prefix. Note that the prefix is specified in hexadecimal ASCII.

since: 1.0

ggit_oid_hash

Computes a hash value for a git object identifier.

since: 1.0

ggit_oid_is_zero

Get whether the oid contains only zeros.

since: 1.0

ggit_oid_to_string

Converts oid into a readable string.

since: 1.0