5 Struct N_GIT_COMMIT_INFO
gullradriel edited this page 2026-10-09 00:55:18 +02:00

N_GIT_COMMIT_INFO

Module: GIT: libgit2 wrapper for repository operations

Commit metadata.

#include "n_git.h"

Public Attributes

Name
int64_t timestamp
unix timestamp of the commit
char[10] short_hash
short (abbreviated) hex hash
char[512] message
first line of commit message
char[42] hash
full hex hash
char[256] author
author name and email

Public Attributes Documentation

variable timestamp

int64_t timestamp;

unix timestamp of the commit

variable short_hash

char[10] short_hash;

short (abbreviated) hex hash

variable message

char[512] message;

first line of commit message

variable hash

char[42] hash;

full hex hash

variable author

char[256] author;

author name and email