(fs billy.Filesystem, path string)
| 1596 | } |
| 1597 | |
| 1598 | func fileExists(fs billy.Filesystem, path string) bool { |
| 1599 | fi, err := fs.Stat(path) |
| 1600 | return err == nil && !fi.IsDir() |
| 1601 | } |
| 1602 | |
| 1603 | func readFile(fs billy.Filesystem, name string) ([]byte, error) { |
| 1604 | f, err := fs.Open(name) |
no test coverage detected