(offset int64, whence int)
| 180 | } |
| 181 | |
| 182 | func (tf TempFile) SeekTo(offset int64, whence int) int64 { |
| 183 | ret, e := tf.f.Seek(offset, whence) |
| 184 | if e != nil { |
| 185 | tf.vm.ThrowError(e) |
| 186 | } |
| 187 | return ret |
| 188 | } |
| 189 | |
| 190 | func (tf TempFile) Size() int64 { |
| 191 | info, e := tf.f.Stat() |
nothing calls this directly
no test coverage detected