File tree Expand file tree Collapse file tree 4 files changed +4
-12
lines changed
Expand file tree Collapse file tree 4 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ module github.com/jfrog/gofrog
33go 1.20
44
55require (
6- github.com/cespare/xxhash v1.1.0
76 github.com/jfrog/archiver/v3 v3.6.0
87 github.com/pkg/errors v0.9.1
98 github.com/stretchr/testify v1.8.4
Original file line number Diff line number Diff line change 1- github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE =
2- github.com/OneOfOne/xxhash v1.2.2 /go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU =
31github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M =
42github.com/andybalholm/brotli v1.1.0 /go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY =
5- github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko =
6- github.com/cespare/xxhash v1.1.0 /go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc =
73github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
84github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
95github.com/dsnet/compress v0.0.1 h1:PlZu0n3Tuv04TzpfPbrnI0HW/YwodEXDS+oPKahKF0Q =
@@ -27,8 +23,6 @@ github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
2723github.com/pkg/errors v0.9.1 /go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0 =
2824github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
2925github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
30- github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ =
31- github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 /go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA =
3226github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk =
3327github.com/stretchr/testify v1.8.4 /go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo =
3428github.com/ulikunitz/xz v0.5.6 /go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8 =
Original file line number Diff line number Diff line change 1- package multipart
1+ package filestream
22
33import (
44 "errors"
Original file line number Diff line number Diff line change 1- package multipart
1+ package filestream
22
33import (
44 "bytes"
55 "github.com/stretchr/testify/assert"
66 "io"
77 "mime/multipart"
88 "os"
9- "path"
109 "path/filepath"
1110 "testing"
1211)
@@ -17,8 +16,8 @@ func TestReadFilesFromStream(t *testing.T) {
1716 sourceDir := t .TempDir ()
1817
1918 // Create 2 file to be transferred via our multipart stream
20- file1 := path .Join (sourceDir , "test1.txt" )
21- file2 := path .Join (sourceDir , "test2.txt" )
19+ file1 := filepath .Join (sourceDir , "test1.txt" )
20+ file2 := filepath .Join (sourceDir , "test2.txt" )
2221 file1Content := []byte ("test content1" )
2322 file2Content := []byte ("test content2" )
2423 assert .NoError (t , os .WriteFile (file1 , file1Content , 0600 ))
You can’t perform that action at this time.
0 commit comments