libgit2.revparse

Members

Enums

GIT_REVSPEC_SINGLE
anonymousenum GIT_REVSPEC_SINGLE
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_revspec_t
enum git_revspec_t

Revparse flags. These indicate the intended behavior of the spec passed to git_revparse.

Functions

git_revparse
int git_revparse(.git_revspec* revspec, libgit2.types.git_repository* repo, const(char)* spec)

Parse a revision string for from, to, and intent.

git_revparse_ext
int git_revparse_ext(libgit2.types.git_object** object_out, libgit2.types.git_reference** reference_out, libgit2.types.git_repository* repo, const(char)* spec)

Find a single object and intermediate reference by a revision string.

git_revparse_single
int git_revparse_single(libgit2.types.git_object** out_, libgit2.types.git_repository* repo, const(char)* spec)

Find a single object, as specified by a revision string.

Structs

git_revspec
struct git_revspec

Git Revision Spec: output of a git_revparse operation

Meta

License

GPL-2.0(Linking Exception)