diff options
Diffstat (limited to 'src/fileops.h')
| -rw-r--r-- | src/fileops.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fileops.h b/src/fileops.h index 594eacbd0..edfcb7dd0 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -48,6 +48,11 @@ extern int git_futils_creat_locked(const char *path, const mode_t mode); extern int git_futils_creat_locked_withpath(const char *path, const mode_t dirmode, const mode_t mode); /** + * Create a directory if it does not exist + */ +extern int git_futils_mkdir_q(const char *path, const mode_t mode); + +/** * Create a path recursively * * If a base parameter is being passed, it's expected to be valued with a path pointing to an already |
