mirror of
https://github.com/ipfs/kubo.git
synced 2025-05-20 00:18:12 +08:00
files2.0: updates for file type split
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
@ -81,10 +81,10 @@ func TestAddGCLive(t *testing.T) {
|
||||
datad := ioutil.NopCloser(bytes.NewBufferString("testfileD"))
|
||||
rfd := files.NewReaderFile(datad, nil)
|
||||
|
||||
slf := files.NewSliceFile([]files.FileEntry{
|
||||
{File: rfa, Name: "a"},
|
||||
{File: hangfile, Name: "b"},
|
||||
{File: rfd, Name: "d"},
|
||||
slf := files.NewSliceFile([]files.DirEntry{
|
||||
files.FileEntry("a", rfa),
|
||||
files.FileEntry("b", hangfile),
|
||||
files.FileEntry("d", rfd),
|
||||
})
|
||||
|
||||
addDone := make(chan struct{})
|
||||
|
Reference in New Issue
Block a user