Remove backend dependency from fs/hash
This commit is contained in:
parent
def411da62
commit
1dc8bcd48c
13 changed files with 138 additions and 150 deletions
|
@ -44,7 +44,7 @@ func TestUpdatingCheck(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
o := &Object{size: fi.Size(), modTime: fi.ModTime(), fs: &Fs{}}
|
||||
wrappedFd := readers.NewLimitedReadCloser(fd, -1)
|
||||
hash, err := hash.NewMultiHasherTypes(hash.Supported)
|
||||
hash, err := hash.NewMultiHasherTypes(hash.Supported())
|
||||
require.NoError(t, err)
|
||||
in := localOpenFile{
|
||||
o: o,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue