Tweak everything for APIs to support everything while not changing too much
This commit is contained in:
parent
ebd4731c09
commit
fd30ad9cbf
6 changed files with 70 additions and 110 deletions
|
|
@ -37,8 +37,6 @@ struct InMemoryExampleStorage {
|
|||
lengths: Lengths,
|
||||
file_infos: FileInfos,
|
||||
map: RwLock<HashMap<ValidPieceIndex, InMemoryPiece>>,
|
||||
// TODO: chunk tracker - rename to PieceTracker and extract chunks out of it (only keep pieces)
|
||||
// this sucker here would track chunks, and the storage above too.
|
||||
}
|
||||
|
||||
impl InMemoryExampleStorage {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue