Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <arrbee@arrbee.com>2012-03-15 04:36:15 +0400
committerRussell Belfer <arrbee@arrbee.com>2012-03-15 04:36:15 +0400
commitdeafee7bd7a9e2efcdff90627b6094d8c1519319 (patch)
tree4b11910d7d315a6db667cc4af4c6749630612ed3 /src/path.h
parentab43ad2fd822504446e7876d6352c968a74beb53 (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.h5
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.