]> git.ipfire.org Git - thirdparty/git.git/blobdiff - compat/mingw.h
Add a function to determine whether a path is owned by the current user
[thirdparty/git.git] / compat / mingw.h
index af8eddd73edb2b1d19caddad4732aa7a370d0cc0..f6bab548f4cf44fec9e39a09113f028efdba97e4 100644 (file)
@@ -452,6 +452,13 @@ char *mingw_query_user_email(void);
 #include <inttypes.h>
 #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.
  *