Fix TorrentHandle rootPath() and contentPath() methods

This commit is contained in:
Vladimir Golovnev (Glassez)
2016-01-06 10:26:57 +03:00
parent d413bc65ef
commit 6d7d566cdf
3 changed files with 13 additions and 2 deletions

View File

@@ -207,6 +207,9 @@ namespace BitTorrent
// file4
//
//
// Torrent A* (Torrent A in "strip root folder" mode)
//
//
// Torrent B (singlefile)
//
// torrentB/
@@ -223,6 +226,7 @@ namespace BitTorrent
// | | rootPath | contentPath |
// |---|------------------------------|--------------------------------------------|
// | A | /home/user/torrents/torrentA | /home/user/torrents/torrentA |
// | A*| <empty> | /home/user/torrents |
// | B | /home/user/torrents/torrentB | /home/user/torrents/torrentB/subdir1/file1 |
// | C | /home/user/torrents/file1 | /home/user/torrents/file1 |