(dir string)
| 212 | } |
| 213 | |
| 214 | func loadIgnoreFile(dir string) CfIgnore { |
| 215 | fileContents, err := ioutil.ReadFile(filepath.Join(dir, ".cfignore")) |
| 216 | if err != nil { |
| 217 | return NewCfIgnore("") |
| 218 | } |
| 219 | |
| 220 | return NewCfIgnore(string(fileContents)) |
| 221 | } |
no test coverage detected