diff options
| author | Romain Geissler <romain.geissler@gmail.com> | 2011-06-03 21:09:14 +0200 |
|---|---|---|
| committer | Romain Geissler <romain.geissler@gmail.com> | 2011-06-03 21:20:20 +0200 |
| commit | bc6484912ebb3db2ac9637abebdeadd28f6d84c3 (patch) | |
| tree | de8619e9387bec1b239b13cb70a7a5ceb20ff264 /src/fileops.h | |
| parent | 26a98ec8a2ebd6d54ad12466552442fde1c6a9d0 (diff) | |
| download | libgit2-bc6484912ebb3db2ac9637abebdeadd28f6d84c3.tar.gz | |
Fileops: Added gitfo_isfile.
Conflicts:
src/fileops.c
Diffstat (limited to 'src/fileops.h')
| -rw-r--r-- | src/fileops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileops.h b/src/fileops.h index 1b70fc836..aa225dca6 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -67,6 +67,7 @@ extern int gitfo_creat(const char *path, int mode); extern int gitfo_creat_force(const char *path, int mode); extern int gitfo_mktemp(char *path_out, const char *filename); extern int gitfo_isdir(const char *path); +extern int gitfo_isfile(const char *path); extern int gitfo_mkdir_recurs(const char *path, int mode); extern int gitfo_mkdir_2file(const char *path); #define gitfo_close(fd) close(fd) |
