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

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-04-12 02:44:45 +0300
committerJunio C Hamano <gitster@pobox.com>2022-04-12 02:44:45 +0300
commitf1b50ec6f85883c483b344442c69cd3d88b38380 (patch)
treefdada8c7b4cab8cb095c98e83cf22246a638d775 /compat/mingw.h
parentab1f2765f78e75ee51dface57e1071b3b7f42b09 (diff)
parent53ef17d3ee0f7fcb151f428ee3bd736b8046825f (diff)
Merge tag 'v2.35.2'
Diffstat (limited to 'compat/mingw.h')
-rw-r--r--compat/mingw.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/compat/mingw.h b/compat/mingw.h
index 6074a3d3ce..494cc8de92 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -457,6 +457,13 @@ char *mingw_query_user_email(void);
#endif
/**
+ * Verifies that the specified path is owned by the user running the
+ * current process.
+ */
+int is_path_owned_by_current_sid(const char *path);
+#define is_path_owned_by_current_user is_path_owned_by_current_sid
+
+/**
* Verifies that the given path is a valid one on Windows.
*
* In particular, path segments are disallowed which