(files []os.DirEntry)
| 1505 | } |
| 1506 | |
| 1507 | func fileNames(files []os.DirEntry) []string { |
| 1508 | names := make([]string, len(files)) |
| 1509 | for i, f := range files { |
| 1510 | names[i] = f.Name() |
| 1511 | } |
| 1512 | sort.Strings(names) |
| 1513 | return names |
| 1514 | } |
| 1515 | |
| 1516 | func stubExtension(path string) error { |
| 1517 | if err := os.MkdirAll(filepath.Dir(path), 0755); err != nil { |
no test coverage detected