This commit is contained in:
Liang Ding 2015-09-12 14:31:30 +08:00
parent 3d9c50cb8e
commit 08a7524ee0
1 changed files with 5 additions and 0 deletions

View File

@ -625,6 +625,11 @@ func listFiles(dirname string) []string {
dirs = append(dirs, name) dirs = append(dirs, name)
} else { } else {
// exclude the .DS_Store directory on Mac OS X
if ".DS_Store" == fio.Name() {
continue
}
files = append(files, name) files = append(files, name)
} }
} }