mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 09:36:47 +00:00
Expose git_refspec_parse()
This function has been available for some time, but never in a header. Expose it so we can use it from outside the library.
This commit is contained in:
parent
c073459371
commit
14ebe51832
@ -19,6 +19,14 @@
|
|||||||
*/
|
*/
|
||||||
GIT_BEGIN_DECL
|
GIT_BEGIN_DECL
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Parse a refspec string and create a refspec object
|
||||||
|
*
|
||||||
|
* @param refspec pointer to the refspec structure to be used
|
||||||
|
* @param str the refspec as a string
|
||||||
|
*/
|
||||||
|
GIT_EXTERN(int) git_refspec_parse(git_refspec *refspec, const char *str);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the source specifier
|
* Get the source specifier
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user