From 02a0d651d79b2108dd6b894b9a43f7682270ac51 Mon Sep 17 00:00:00 2001 From: yorah Date: Thu, 12 Jul 2012 16:31:59 +0200 Subject: Add git_buf_unescape and git__unescape to unescape all characters in a string (in-place) --- src/buffer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/buffer.h') 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 -- cgit v1.2.1