mirror of
https://github.com/go-gitea/gitea
synced 2025-11-02 12:28:25 +00:00
fix: seek write of dbfs
This commit is contained in:
@@ -38,7 +38,7 @@ type file struct {
|
||||
var _ File = (*file)(nil)
|
||||
|
||||
func (f *file) readAt(fileMeta *FileMeta, offset int64, p []byte) (n int, err error) {
|
||||
if f.offset >= fileMeta.FileSize {
|
||||
if offset >= fileMeta.FileSize {
|
||||
return 0, io.EOF
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user