libktorrent  2.1.1
Public Member Functions | List of all members
bt::Migrate Class Reference

#include <migrate.h>

Public Member Functions

void migrate (const Torrent &tor, const QString &tor_dir, const QString &sdir)
 

Detailed Description

Author
Joris Guisson joris.nosp@m..gui.nosp@m.sson@.nosp@m.gmai.nosp@m.l.com

Class to migrate old pre-mmap downloads to new ones

Definition at line 53 of file migrate.h.

Member Function Documentation

◆ migrate()

void bt::Migrate::migrate ( const Torrent tor,
const QString &  tor_dir,
const QString &  sdir 
)

Migrate a download to the new format.

Parameters
torThe torrent
tor_dirTorX directory
sdirThe save directory
Exceptions
Errorif something goes wrong

The documentation for this class was generated from the following file: