diff options
| author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-17 18:13:14 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-26 18:18:10 +0200 |
| commit | 9c82357be74bc5404038ec3c16706b1805843556 (patch) | |
| tree | 6ac361b40e1629136527c4da0427bc1cf213d00d /include/git2/refspec.h | |
| parent | 0b10c9ea6ef5d85d862edd044d96561c4fd16e9b (diff) | |
| download | libgit2-9c82357be74bc5404038ec3c16706b1805843556.tar.gz | |
Add a remotes API
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'include/git2/refspec.h')
| -rw-r--r-- | include/git2/refspec.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/git2/refspec.h b/include/git2/refspec.h new file mode 100644 index 000000000..d45364f71 --- /dev/null +++ b/include/git2/refspec.h @@ -0,0 +1,22 @@ +#ifndef INCLUDE_git_refspec_h__ +#define INCLUDE_git_refspec_h__ + +#include "git2/types.h" + +/** + * Get the source specifier + * + * @param refspec the refspec + * @return the refspec's source specifier + */ +const char *git_refspec_src(const git_refspec *refspec); + +/** + * Get the destination specifier + * + * @param refspec the refspec + * @return the refspec's destination specifier + */ +const char *git_refspec_dst(const git_refspec *refspec); + +#endif |
