This commit is contained in:
Matt Joiner 2023-09-26 22:20:46 +10:00
parent 434a63575f
commit f009e1d583
No known key found for this signature in database
GPG Key ID: 6B990B8185E7F782
2 changed files with 4 additions and 3 deletions

View File

@ -56,7 +56,7 @@ func (me fileHandle) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse
n, readErr = io.ReadFull(r, resp.Data)
if readErr == io.ErrUnexpectedEOF {
readErr = nil
}
}
} else {
n, readErr = r.Read(resp.Data)
if readErr == io.EOF {

View File

@ -6,12 +6,13 @@ package sqliteStorage
import (
"errors"
"fmt"
"path/filepath"
"testing"
_ "github.com/anacrolix/envpprof"
"github.com/anacrolix/squirrel"
"github.com/dustin/go-humanize"
qt "github.com/frankban/quicktest"
"path/filepath"
"testing"
"github.com/anacrolix/torrent/storage"
test_storage "github.com/anacrolix/torrent/storage/test"