ref: eabe8e1a986507ce19b42046beaefd42bd1075bc
parent: 077d726b51368bb5affb7ce5644e5b45a0f9ea42
author: bep <[email protected]>
date: Tue Jan 20 08:21:50 EST 2015
Rename ignoreDotFile to isDotFile (which is what it is)
--- a/tpl/template.go
+++ b/tpl/template.go
@@ -1198,7 +1198,7 @@
return filepath.ToSlash(name)
}
-func ignoreDotFile(path string) bool {
+func isDotFile(path string) bool {
return filepath.Base(path)[0] == '.'
}
@@ -1214,7 +1214,7 @@
}
if !fi.IsDir() {
- if ignoreDotFile(path) {
+ if isDotFile(path) {
return nil
}