Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 176cdac

Browse files
smolamcuadros
authored andcommitted
OSFile: implement io.ReaderAt. (#90)
1 parent 7bd4f1d commit 176cdac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/fs/os.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,3 +170,7 @@ func (f *OSFile) Close() error {
170170

171171
return f.file.Close()
172172
}
173+
174+
func (f *OSFile) ReadAt(p []byte, off int64) (int, error) {
175+
return f.file.ReadAt(p, off)
176+
}

0 commit comments

Comments
 (0)