]> Sergey Matveev's repositories - btrtrc.git/commit
Fix issue #96
authorMatt Joiner <anacrolix@gmail.com>
Sun, 10 Jul 2016 13:03:59 +0000 (23:03 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Sun, 10 Jul 2016 13:03:59 +0000 (23:03 +1000)
commitf055abe2fcf3feb9621569d44a77e8a9f55da5c2
tree7a4688e0f7f18025831056332712273973522619
parent9943fc3c5804d6295e54e2160d01aedf92ff7972
Fix issue #96

In the native file-based storage, mark pieces incomplete if the necessary file data is missing, or there's a read error on a piece.
storage/file.go
storage/file_misc.go [new file with mode: 0644]
storage/file_misc_test.go [new file with mode: 0644]
storage/file_storage_piece.go [new file with mode: 0644]
storage/issue96_test.go [new file with mode: 0644]