diff options
| -rw-r--r-- | src/fileops.c | 5 | ||||
| -rw-r--r-- | src/fileops.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/fileops.c b/src/fileops.c index 0633f9b21..9fe017c93 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -310,3 +310,8 @@ int gitfo_dirent( closedir(dir); return GIT_SUCCESS; } + +int gitfo_mkdir_recurs(const char *path, int mode) +{ + return gitfo_mkdir(path, mode); +}
\ No newline at end of file diff --git a/src/fileops.h b/src/fileops.h index 618bddd5b..6656cdf43 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -58,6 +58,7 @@ extern int gitfo_exists(const char *path); extern int gitfo_open(const char *path, int flags); extern int gitfo_creat(const char *path, int mode); extern int gitfo_isdir(const char *path); +extern int gitfo_mkdir_recurs(const char *path, int mode); #define gitfo_close(fd) close(fd) extern int gitfo_read(git_file fd, void *buf, size_t cnt); |
