Method: Rugged.dotgit_modules?
- Defined in:
- ext/rugged/rugged.c
.dotgit_modules?(rb_path) ⇒ Boolean
518 519 520 521 522 523 524 525 526 527 528 529 530 |
# File 'ext/rugged/rugged.c', line 518 static VALUE rb_git_path_is_dotgit_modules(VALUE self, VALUE rb_path) { const char *path; int is_dotgit; Check_Type(rb_path, T_STRING); path = StringValueCStr(rb_path); is_dotgit = git_path_is_gitfile(path, strlen(path), GIT_PATH_GITFILE_GITMODULES, GIT_PATH_FS_GENERIC); return is_dotgit ? Qtrue : Qfalse; } |