add hiddenFiles option (#372)

* add hiddenFiles option

* harden and improve syntax

* refactor name and add to docs
This commit is contained in:
Adam Abrams authored and GitHub committed 2020-06-11 02:52:15 +03:00
1 parent 8933a3eafe
commit 72facea2a0
7 files changed
+43 -7

No files matched your search

+2 -2
View File
@@ -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) {