|
@ -12,6 +12,7 @@ import ( |
|
|
"os/exec" |
|
|
"os/exec" |
|
|
"path" |
|
|
"path" |
|
|
"path/filepath" |
|
|
"path/filepath" |
|
|
|
|
|
"sort" |
|
|
"strings" |
|
|
"strings" |
|
|
"time" |
|
|
"time" |
|
|
"unicode/utf8" |
|
|
"unicode/utf8" |
|
@ -75,6 +76,8 @@ func LoadRepoConfig() { |
|
|
|
|
|
|
|
|
LanguageIgns = typeFiles[0] |
|
|
LanguageIgns = typeFiles[0] |
|
|
Licenses = typeFiles[1] |
|
|
Licenses = typeFiles[1] |
|
|
|
|
|
sort.Strings(LanguageIgns) |
|
|
|
|
|
sort.Strings(Licenses) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func NewRepoContext() { |
|
|
func NewRepoContext() { |
|
|