]> Sergey Matveev's repositories - btrtrc.git/commit
Panic on bad piece per resource chunk names
authorMatt Joiner <anacrolix@gmail.com>
Sun, 11 Oct 2020 01:57:33 +0000 (12:57 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Sun, 11 Oct 2020 01:57:33 +0000 (12:57 +1100)
commit00ac333ea2d00aa150a6e8ad8a160254715f5441
tree18b9e532fe6030d00b90ace698bcdbac6ffe29f6
parent417d7d1d486ffdf4369a9530bc27dfc3704a0dfb
Panic on bad piece per resource chunk names

This was masking a bug in a coming sqlite storage implementation. Maybe it could be relaxed to checking for no filepath.Dir in the future.
storage/piece_resource.go