From 459e2dcd7deb379b9a013ab70aa70206fc17f16a Mon Sep 17 00:00:00 2001 From: nulltoken Date: Tue, 27 Dec 2011 11:18:57 +0100 Subject: path: add git__percent_decode() --- src/path.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/path.h') diff --git a/src/path.h b/src/path.h index 0c8cc349c..6397feedf 100644 --- a/src/path.h +++ b/src/path.h @@ -74,4 +74,6 @@ GIT_INLINE(void) git_path_mkposix(char *path) # define git_path_mkposix(p) /* blank */ #endif +extern int git__percent_decode(git_buf *decoded_out, const char *input); + #endif -- cgit v1.2.1 From 2017a15d6ca7f756dcf036499a02e15393609c83 Mon Sep 17 00:00:00 2001 From: nulltoken Date: Tue, 27 Dec 2011 16:03:28 +0100 Subject: path: add git_path_fromurl() --- src/path.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/path.h') diff --git a/src/path.h b/src/path.h index 6397feedf..c308c5bd4 100644 --- a/src/path.h +++ b/src/path.h @@ -75,5 +75,6 @@ GIT_INLINE(void) git_path_mkposix(char *path) #endif extern int git__percent_decode(git_buf *decoded_out, const char *input); +extern int git_path_fromurl(git_buf *local_path_out, const char *file_url); #endif -- cgit v1.2.1