add hiddenFiles option (#372)
* add hiddenFiles option * harden and improve syntax * refactor name and add to docs
This commit is contained in:
1 parent
8933a3eafe
commit
72facea2a0
7 files changed
+43
-7
No files matched your search
+2
-2
@@ -114,9 +114,9 @@ func isExecutable(f os.FileInfo) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func isHidden(f os.FileInfo) bool {
|
||||
func isHidden(f os.FileInfo, path string) (hidden bool) {
|
||||
// TODO: implement
|
||||
return false
|
||||
return hidden
|
||||
}
|
||||
|
||||
func exportFiles(f string, fs []string) {
|
||||
|
||||
Reference in new issue
Block a user