]> Sergey Matveev's repositories - btrtrc.git/commit
Add Piece.UpdateCompletion() method
authorCraig Campbell <iamcraigcampbell@gmail.com>
Sun, 5 Jan 2020 02:12:02 +0000 (21:12 -0500)
committerMatt Joiner <anacrolix@gmail.com>
Sat, 4 Apr 2020 22:57:58 +0000 (08:57 +1000)
commit69202987709745902d80b11b83ae12386432267a
treece1ae7b02796479efe6defb478e2ca8e4a014bd3
parentc435d713c4c4308fffe14a6104b8affcf6aff36c
Add Piece.UpdateCompletion() method

This should be all that is needed to handle pieces that are evicted or
removed from storage if you are using a storage implementation such as an LRU
cache.
piece.go