Implemented TorrentManger::seed. Fixed bug in TorrentManger::Initialize of using incorrect
submanifest size. Migrate torrent-manager to use shared_ptr to face rather than a dangling
reference. Lastly, I added more tests throughout and reorganized the code to match the order of
declaration.
Change-Id: Ia427d8047ff6e69d5f274482d0d9a17e953e1f0d
diff --git a/src/torrent-file.cpp b/src/torrent-file.cpp
index d7918d2..30957bf 100644
--- a/src/torrent-file.cpp
+++ b/src/torrent-file.cpp
@@ -239,6 +239,7 @@
size_t dataPacketSize,
bool returnData)
{
+ //TODO(spyros) Adapt this support subdirectories in 'directoryPath'
BOOST_ASSERT(0 < namesPerSegment);
std::vector<TorrentFile> torrentSegments;