(path string)
| 81 | const dotCharacter = 46 |
| 82 | |
| 83 | func IsHidden(path string) bool { |
| 84 | base := filepath.Base(path) |
| 85 | return len(base) > 1 && base[0] == dotCharacter |
| 86 | } |
| 87 | |
| 88 | var readerPool = sync.Pool{ |
| 89 | New: func() interface{} { |
no outgoing calls
no test coverage detected