Lindenii Project Forge
Login

hare-libgit2

Hare bindings for libgit2 (BROKEN)
Commit info
ID
65a617f0d2910604754bd36683b498f4d612b089
Author
Runxi Yu <me@runxiyu.org>
Author date
Tue, 11 Mar 2025 11:30:12 +0800
Committer
Runxi Yu <me@runxiyu.org>
Committer date
Tue, 11 Mar 2025 12:07:31 +0800
Actions
Add object_t
// Basic type (loose or packed) of any Git object.
export type object_t = enum {
	OBJECT_ANY =     -2, // Object can be any of the following
	OBJECT_INVALID = -1, // Object is invalid.
	OBJECT_COMMIT =   1, // A commit object.
	OBJECT_TREE =     2, // A tree (directory listing) object.
	OBJECT_BLOB =     3, // A file revision object.
	OBJECT_TAG =      4, // An annotated tag object.
};