add java and maven support
This commit is contained in:
@@ -19,6 +19,11 @@ var DefaultIgnores = []string{
|
|||||||
"node_modules",
|
"node_modules",
|
||||||
"vendor",
|
"vendor",
|
||||||
"bin",
|
"bin",
|
||||||
|
"target",
|
||||||
|
"build",
|
||||||
|
"dist",
|
||||||
|
".idea",
|
||||||
|
".vscode",
|
||||||
}
|
}
|
||||||
|
|
||||||
var DefaultExts = []string{
|
var DefaultExts = []string{
|
||||||
@@ -30,6 +35,10 @@ var DefaultExts = []string{
|
|||||||
".pdf", ".doc", ".docx", ".xls", ".xlsx",
|
".pdf", ".doc", ".docx", ".xls", ".xlsx",
|
||||||
".pem", ".key", ".cert",
|
".pem", ".key", ".cert",
|
||||||
".db", ".sqlite", ".sqlite3",
|
".db", ".sqlite", ".sqlite3",
|
||||||
|
".class", // Java compiled bytecode
|
||||||
|
".jar", // JAR archives
|
||||||
|
".war",
|
||||||
|
".ear",
|
||||||
}
|
}
|
||||||
|
|
||||||
type stringSlice []string
|
type stringSlice []string
|
||||||
|
|||||||
Reference in New Issue
Block a user