(prefix, suffix string)
| 28 | } |
| 29 | |
| 30 | func (io defaultFileIO) FindWithPrefixAndSuffix(prefix, suffix string) ([]string, error) { |
| 31 | return filepath.Glob(prefix + "*" + suffix) |
| 32 | } |
| 33 | |
| 34 | func (io defaultFileIO) WriteFile(path string, data []byte) error { |
| 35 | return ioutil.WriteFile(path, data, 0600) |
nothing calls this directly
no outgoing calls
no test coverage detected