add more extensions

This commit is contained in:
edoardottt
2025-04-07 12:06:33 +02:00
parent 82a3585c72
commit ad51fc0687
2 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ pacman -Syu cariddi
### Building from source
You need [Go](https://go.dev/) (>=1.18)
You need [Go](https://go.dev/) (>=1.23)
- **Linux**
+25
View File
@@ -65,6 +65,9 @@ func GetExtensions() []FileType {
{"pwd", 1},
{"passwd", 1},
{"gitignore", 1},
{"crt", 1},
{"csr", 1},
{"keychain", 1},
{"properties", 2},
{"dtd", 2},
{"conf", 2},
@@ -72,6 +75,13 @@ func GetExtensions() []FileType {
{"config", 2},
{"configs", 2},
{"apk", 2},
{"swp", 2},
{"dbf", 2},
{"mdb", 2},
{"sqlite", 2},
{"ini", 2},
{"log1", 2},
{"bak1", 2},
{"cgi", 3},
{"sh", 3},
{"py", 3},
@@ -94,6 +104,13 @@ func GetExtensions() []FileType {
{"7z", 3},
{"gz", 3},
{"dochtml", 3},
{"plist", 3},
{"md5", 3},
{"torrent", 3},
{"txt1", 3},
{"rst", 3},
{"exe", 3},
{"bin", 3},
{"doc", 4},
{"docx", 4},
{"csv", 4},
@@ -102,6 +119,7 @@ func GetExtensions() []FileType {
{"xlsx", 4},
{"ts", 4},
{"js", 4},
{"md", 4},
{"php", 5},
{"asp", 5},
{"jsp", 5},
@@ -110,6 +128,13 @@ func GetExtensions() []FileType {
{"html", 6},
{"htm", 6},
{"pdf", 7},
{"psd", 7},
{"ai", 7},
{"pdf1", 7},
{"epub", 7},
{"mobi", 7},
{"ppt", 7},
{"pptx", 7},
}
return extensions