]> git.rkrishnan.org Git - functorrent.git/commit
refactor the piecemap initialization
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Thu, 17 Sep 2015 22:04:12 +0000 (03:34 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Thu, 17 Sep 2015 22:04:12 +0000 (03:34 +0530)
commit9d4aab0d9382c070bfaf965ddfe139affa64dcd5
treea2a7741209f20763ef3404f8f8ee9e933b93e210
parentd8052ca2b25bc6a2b58d104b3910a61cf4ea2db4
refactor the piecemap initialization

Move parts of the download resume code into Main, since it avoids
duplication of some code and makes the flow, a lot more easy to
understand.
src/FuncTorrent/Peer.hs
src/FuncTorrent/Server.hs
src/FuncTorrent/Utils.hs
src/main/Main.hs