diff options
author | yorah <yoram.harmelin@gmail.com> | 2012-07-12 18:31:59 +0400 |
---|---|---|
committer | yorah <yoram.harmelin@gmail.com> | 2012-07-24 16:03:07 +0400 |
commit | 02a0d651d79b2108dd6b894b9a43f7682270ac51 (patch) | |
tree | e90cbe5dccf69913f226799860a541ab31df29c3 /src/buffer.h | |
parent | 944d250f964698b33d9fa09e2e6af74b1dd84de2 (diff) |
Add git_buf_unescape and git__unescape to unescape all characters in a string (in-place)
Diffstat (limited to 'src/buffer.h')
-rw-r--r-- | src/buffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h index 75f3b0e4f..17922e408 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -151,4 +151,7 @@ int git_buf_common_prefix(git_buf *buf, const git_strarray *strings); /* Check if buffer looks like it contains binary data */ bool git_buf_is_binary(const git_buf *buf); +/* Unescape all characters in a buffer */ +void git_buf_unescape(git_buf *buf); + #endif |