diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-01-26 16:59:36 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-01-27 04:44:06 +0100 |
commit | bf522e08114a4dc25815b09db201266a0791381c (patch) | |
tree | 15f09e55dd006dc7645e1e552334c446cb27839c /src/refspec.h | |
parent | e1d7f0035e8683423271f1f63b57fd9c663e4fb0 (diff) | |
download | libgit2-bf522e08114a4dc25815b09db201266a0791381c.tar.gz |
refspec: move to git_buf for outputting strings
Diffstat (limited to 'src/refspec.h')
-rw-r--r-- | src/refspec.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/refspec.h b/src/refspec.h index 51b7bfee9..375465f61 100644 --- a/src/refspec.h +++ b/src/refspec.h @@ -31,28 +31,6 @@ int git_refspec__parse( void git_refspec__free(git_refspec *refspec); -/** - * Transform a reference to its target following the refspec's rules, - * and writes the results into a git_buf. - * - * @param out where to store the target name - * @param spec the refspec - * @param name the name of the reference to transform - * @return 0 or error if buffer allocation fails - */ -int git_refspec_transform_r(git_buf *out, const git_refspec *spec, const char *name); - -/** - * Transform a reference from its target following the refspec's rules, - * and writes the results into a git_buf. - * - * @param out where to store the source name - * @param spec the refspec - * @param name the name of the reference to transform - * @return 0 or error if buffer allocation fails - */ -int git_refspec_transform_l(git_buf *out, const git_refspec *spec, const char *name); - int git_refspec__serialize(git_buf *out, const git_refspec *refspec); /** |