layout default menu_item api title Path description Version 0.26.1 return_to API Documentation Index /api/ sections isGitfile FS GITFILE #isGitfile #FS #GITFILE Path.isGitfile SyncExperimental var result = Path.isGitfile(path, pathlen, gitfile, fs); Parameters Type path String pathlen Number gitfile Number fs Number Returns Number Path.FS ENUM | Flag | Value | | --- | --- | --- | | Path.FS.GENERIC | 0 | | Path.FS.NTFS | 1 | | Path.FS.HFS | 2 | Path.GITFILE ENUM | Flag | Value | | --- | --- | --- | | Path.GITFILE.GITIGNORE | 0 | | Path.GITFILE.GITMODULES | 1 | | Path.GITFILE.GITATTRIBUTES | 1 |