summaryrefslogtreecommitdiff
path: root/src/path.h
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-06-03 22:10:34 +0200
committerVicent Marti <vicent@github.com>2014-06-03 22:10:34 +0200
commit90befde4a1938641dfdb9a7bdb9f361d1de5c26f (patch)
tree368139171b8233f5f45acaf62fa53b2f6ce8a376 /src/path.h
parentdfcba09e671048668ce55e1efef9f8cf40e4e4a2 (diff)
parent18d7896cb00b9a4abe55cb461e12db4813e6a59e (diff)
downloadlibgit2-90befde4a1938641dfdb9a7bdb9f361d1de5c26f.tar.gz
Merge pull request #2399 from libgit2/cmn/path-to-path
clone: re-use the local transport's path resolution
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/path.h b/src/path.h
index 3213c5104..3e6efe3de 100644
--- a/src/path.h
+++ b/src/path.h
@@ -438,4 +438,7 @@ extern int git_path_iconv(git_path_iconv_t *ic, char **in, size_t *inlen);
extern bool git_path_does_fs_decompose_unicode(const char *root);
+/* Used for paths to repositories on the filesystem */
+extern int git_path_from_url_or_path(git_buf *local_path_out, const char *url_or_path);
+
#endif