MCPcopy Create free account
hub / github.com/bep/s3deploy / createFiles

Function createFiles

lib/cloudfront_test.go:118–130  ·  view source on GitHub ↗
(root string, differentFolders bool, num int)

Source from the content-addressed store, hash-verified

116}
117
118func 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
132type mockCloudfrontHandler struct{}
133

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected