]> Sergey Matveev's repositories - btrtrc.git/commit
Refactor Reader.readOnceAt
authorMatt Joiner <anacrolix@gmail.com>
Mon, 28 Apr 2025 01:36:11 +0000 (11:36 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 28 Apr 2025 01:36:11 +0000 (11:36 +1000)
commit589b1ebd9f3b8989537178ad4c762b49df64af4d
treee8553724340f3fd1e0bd20b8664c69246d80a83b
parent67fe9f415595493c586d8e8575082e4515443f69
Refactor Reader.readOnceAt

Looks like there was some errors that could be dropped.
We also handle a few corner cases and ReadAt returning 0 being handled non-canonically.
bad-storage.go [moved from bad_storage.go with 92% similarity]
reader.go
storage/interface.go