fix: seek write of dbfs

This commit is contained in:
Jason Song
2022-11-25 17:48:45 +08:00
parent 15db111df1
commit c42577642d
2 changed files with 35 additions and 3 deletions
+1 -1
View File
@@ -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
}