chore: style fixes from go fix (#10846)

Just `go fix ./...`

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2026-08-05 20:23:22 +02:00
committed by GitHub
parent 946e2b83a1
commit 8ea09c0094
144 changed files with 211 additions and 315 deletions
+2 -4
View File
@@ -211,12 +211,10 @@ func (e encryptedConnection) Request(ctx context.Context, req *Request) ([]byte,
// Encrypt / adjust the request parameters.
encSize := req.Size
if encSize < minPaddedSize {
encSize := max(req.Size,
// Make a request for minPaddedSize data instead of the smaller
// block. We'll chop of the extra data later.
encSize = minPaddedSize
}
minPaddedSize)
encSize += blockOverhead
encName := encryptName(req.Name, folderKey)
encOffset := req.Offset + int64(req.BlockNo*blockOverhead)