]> Sergey Matveev's repositories - btrtrc.git/commitdiff
gorond
authorMatt Joiner <anacrolix@gmail.com>
Tue, 26 Sep 2023 12:20:46 +0000 (22:20 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 26 Sep 2023 12:20:46 +0000 (22:20 +1000)
fs/file_handle.go
storage/sqlite/sqlite-storage_test.go

index 7a0c9a1eac435ed3410930762a2df5d763bf9253..ce5ded0b488205f54251e8631fbb72b0a6c9f1e2 100644 (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 {
index 00ab449b92efda2696f0a6a57aec2ecd5439b80d..a566322d708b5d78075e983684f58d4f3d698ae1 100644 (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"