disable hidden on windows

This commit is contained in:
Gokcehan committed 2019-03-31 23:39:41 +03:00
1 parent 45270e389e
commit b2b22fb674
3 files changed
+12 -3

No files matched your search

+4
View File
@@ -133,6 +133,10 @@ func isExecutable(f os.FileInfo) bool {
return f.Mode()&0111 != 0
}
func isHidden(f os.FileInfo) bool {
return f.Name()[0] == '.'
}
func exportFiles(f string, fs []string) {
envFile := f
envFiles := strings.Join(fs, gOpts.filesep)