[][src]Function transmission_sys::tr_torrentGetCurrentDir

pub unsafe extern "C" fn tr_torrentGetCurrentDir(
    tor: *const tr_torrent
) -> *const c_char

Returns the root directory of where the torrent is.

This will usually be the downloadDir. However if the torrent has an incompleteDir enabled and hasn't finished downloading yet, that will be returned instead.