libgit2

repository

Version:
Git repository management routines

Objects

Representation of an existing git repository, including all its object contents

Enums

Internal path identifiers for a repository

Functions

Open a git repository

Open a git repository by manually specifying all its paths

Open a git repository by manually specifying its paths and the object database it will use

Look for a git repository and copy its path in the given buffer from base_path and walk across parent directories if nothing has been found. The lookup ends when the first repository is found, or when reaching a directory referenced in ceiling_dirs or when the filesystem changes (in case across_fs is true).

Get the object database behind a Git repository

Open the Index file of a Git repository

Free a previously allocated repository

Creates a new Git repository in the given folder

Check if a repository is empty

Get one of the paths to the repository

Check if a repository is bare

Retrieve the relevant configuration for a repository