(root string, differentFolders bool, num int)
| 116 | } |
| 117 | |
| 118 | func createFiles(root string, differentFolders bool, num int) []string { |
| 119 | files := make([]string, num) |
| 120 | |
| 121 | for i := range num { |
| 122 | nroot := root |
| 123 | if differentFolders { |
| 124 | nroot = fmt.Sprintf("%s-%d", root, i) |
| 125 | } |
| 126 | files[i] = path.Join(nroot, fmt.Sprintf("file%d.css", i+1)) |
| 127 | } |
| 128 | |
| 129 | return files |
| 130 | } |
| 131 | |
| 132 | type mockCloudfrontHandler struct{} |
| 133 |
no outgoing calls
no test coverage detected