]> Sergey Matveev's repositories - btrtrc.git/commit
Add bolt piece completion DB
authorMatt Joiner <anacrolix@gmail.com>
Tue, 25 Oct 2016 08:07:26 +0000 (19:07 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 25 Oct 2016 08:07:26 +0000 (19:07 +1100)
commit5c5a26afedee70dc16adbd3e00bcec239f289a73
treedbb8b02d8f9a7d3c2fe8d543e645e6319922cfc1
parent172513311159f888ff59c4b3f6c5ff46611b6b8d
Add bolt piece completion DB

This means it can be persistent without needing cgo. Fixes issues #115 and #124.
storage/boltPieceCompletion.go [new file with mode: 0644]
storage/boltdb.go
storage/boltpc_test.go [new file with mode: 0644]
storage/completion.go
storage/completion_piece_map.go
storage/file.go
storage/mmap.go
storage/piece_file.go
storage/sqlitePieceCompletion.go [moved from storage/db.go with 70% similarity]
storage/storage_test.go [new file with mode: 0644]