summaryrefslogtreecommitdiff
path: root/src/fileops.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-05-23 12:05:48 +0200
committernulltoken <emeric.fermas@gmail.com>2012-05-23 12:57:13 +0200
commitdc07184fa9f187eddab16b2996db24e9731aa3f0 (patch)
tree9a338b0732cd6ee18b310eb8060a450bf14f5504 /src/fileops.h
parent7a361e93f39789e9523caeb3ef8754173165aab7 (diff)
downloadlibgit2-dc07184fa9f187eddab16b2996db24e9731aa3f0.tar.gz
fileops: Make git_futils_mkdir_r() able to cope with Windows network paths
Partially fix libgit2/libgit2sharp#153
Diffstat (limited to 'src/fileops.h')
-rw-r--r--src/fileops.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fileops.h b/src/fileops.h
index be619d620..b0c5779e5 100644
--- a/src/fileops.h
+++ b/src/fileops.h
@@ -49,6 +49,9 @@ extern int git_futils_creat_locked_withpath(const char *path, const mode_t dirmo
/**
* Create a path recursively
+ *
+ * If a base parameter is being passed, it's expected to be valued with a path pointing to an already
+ * exisiting directory.
*/
extern int git_futils_mkdir_r(const char *path, const char *base, const mode_t mode);