libgit2.refspec

Members

Functions

git_refspec_direction
libgit2.net.git_direction git_refspec_direction(const(libgit2.types.git_refspec)* spec)

Get the refspec's direction.

git_refspec_dst
const(char)* git_refspec_dst(const(libgit2.types.git_refspec)* refspec)

Get the destination specifier

git_refspec_dst_matches
int git_refspec_dst_matches(const(libgit2.types.git_refspec)* refspec, const(char)* refname)

Check if a refspec's destination descriptor matches a reference

git_refspec_force
int git_refspec_force(const(libgit2.types.git_refspec)* refspec)

Get the force update setting

git_refspec_free
void git_refspec_free(libgit2.types.git_refspec* refspec)

Free a refspec object which has been created by git_refspec_parse

git_refspec_parse
int git_refspec_parse(libgit2.types.git_refspec** refspec, const(char)* input, int is_fetch)

Parse a given refspec string

git_refspec_rtransform
int git_refspec_rtransform(libgit2.buffer.git_buf* out_, const(libgit2.types.git_refspec)* spec, const(char)* name)

Transform a target reference to its source reference following the refspec's rules

git_refspec_src
const(char)* git_refspec_src(const(libgit2.types.git_refspec)* refspec)

Get the source specifier

git_refspec_src_matches
int git_refspec_src_matches(const(libgit2.types.git_refspec)* refspec, const(char)* refname)

Check if a refspec's source descriptor matches a reference

git_refspec_string
const(char)* git_refspec_string(const(libgit2.types.git_refspec)* refspec)

Get the refspec's string

git_refspec_transform
int git_refspec_transform(libgit2.buffer.git_buf* out_, const(libgit2.types.git_refspec)* spec, const(char)* name)

Transform a reference to its target following the refspec's rules

Meta

License

GPL-2.0(Linking Exception)