File tree Expand file tree Collapse file tree 3 files changed +21
-39
lines changed
Expand file tree Collapse file tree 3 files changed +21
-39
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -644,4 +644,25 @@ extern bool git_path_isvalid(
644644 */
645645int git_path_normalize_slashes (git_buf * out , const char * path );
646646
647+ /**
648+ * Check whether a path component corresponds to a .gitmodules file
649+ *
650+ * @param name the path component to check
651+ */
652+ extern int git_path_is_dotgit_modules (const char * name );
653+
654+ /**
655+ * Check whether a path component corresponds to a .gitignore file
656+ *
657+ * @param name the path component to check
658+ */
659+ extern int git_path_is_dotgit_ignore (const char * name );
660+
661+ /**
662+ * Check whether a path component corresponds to a .gitignore file
663+ *
664+ * @param name the path component to check
665+ */
666+ extern int git_path_is_dotgit_attributes (const char * name );
667+
647668#endif
Original file line number Diff line number Diff line change 11#include "clar_libgit2.h"
22#include "path.h"
33
4- #include "git2/sys/path.h"
5-
64static char * gitmodules_altnames [] = {
75 ".gitmodules" ,
86
You can’t perform that action at this time.
0 commit comments