MikaelSmith / torrent_client

A simple Ruby BitTorrent client based on libtorrent-rasterbar
Apache License 2.0
0 stars 0 forks source link

Add purge method for deleting files from torrent #3

Open MikaelSmith opened 8 years ago

MikaelSmith commented 8 years ago

Use torrent_info's num_files() and files_at() to get names of files, and use that to delete any versions present on disk.