We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 721229d + 7f118d6 commit ea6c59bCopy full SHA for ea6c59b
pkg/testserver/artifact.go
@@ -45,9 +45,9 @@ type File struct {
45
Body string
46
}
47
48
-// ArtifactFromBytes creates a tar.gz artifact from the given files and
+// ArtifactFromFiles creates a tar.gz artifact from the given files and
49
// returns the file name of the artifact.
50
-func (s *ArtifactServer) ArtifactFromBytes(files []File) (string, error) {
+func (s *ArtifactServer) ArtifactFromFiles(files []File) (string, error) {
51
fileName := calculateArtifactName(files)
52
filePath := filepath.Join(s.docroot, fileName)
53
gzFile, err := os.Create(filePath)
0 commit comments