fs: add UploadHeaders, DownloadHeaders to Update/Put/Open options
This commit is contained in:
parent
93caa459e3
commit
9bf3d3da4c
4 changed files with 52 additions and 31 deletions
|
@ -74,7 +74,7 @@ func TestReOpen(t *testing.T) {
|
|||
breaks: breaks,
|
||||
}
|
||||
hashOption := &fs.HashesOption{Hashes: hash.NewHashSet(hash.MD5)}
|
||||
return NewReOpen(context.Background(), src, hashOption, rangeOption, maxRetries)
|
||||
return NewReOpen(context.Background(), src, maxRetries, hashOption, rangeOption)
|
||||
}
|
||||
|
||||
t.Run("Basics", func(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue