diff options
author | Russell Belfer <arrbee@arrbee.com> | 2012-03-15 04:36:15 +0400 |
---|---|---|
committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-15 04:36:15 +0400 |
commit | deafee7bd7a9e2efcdff90627b6094d8c1519319 (patch) | |
tree | 4b11910d7d315a6db667cc4af4c6749630612ed3 /src/path.h | |
parent | ab43ad2fd822504446e7876d6352c968a74beb53 (diff) |
Continue error conversion
This converts blob.c, fileops.c, and all of the win32 files.
Also, various minor cleanups throughout the code. Plus, in
testing the win32 build, I cleaned up a bunch (although not
all) of the warnings with the 64-bit build.
Diffstat (limited to 'src/path.h')
-rw-r--r-- | src/path.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/path.h b/src/path.h index e885d875e..3cf73940e 100644 --- a/src/path.h +++ b/src/path.h @@ -130,6 +130,11 @@ extern bool git_path_isdir(const char *path); extern bool git_path_isfile(const char *path); /** + * Stat a file and/or link and set error if needed. + */ +extern int git_path_lstat(const char *path, struct stat *st); + +/** * Check if the parent directory contains the item. * * @param dir Directory to check. |