mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-27 07:26:31 -05:00
704f4c89f6
By caching all reads from an io.Reader, you can make an io.ReadSeeker out of it. MakeSeekable() actually returns something that is all of io.Reader, io.Seeker and io.Closer, because the returned object actually requires closing to clean up gracefully.