pub unsafe extern "C" fn tr_torrentFindFile(
    tor: *const tr_torrent,
    fileNo: tr_file_index_t
) -> *mut c_char
Expand description

@brief find the location of a torrent’s file by looking with and without the “.part” suffix, looking in downloadDir and incompleteDir, etc. @return a newly-allocated string (that must be tr_freed () by the caller when done) that gives the location of this file on disk, or NULL if no file exists yet. @param tor the torrent whose file we’re looking for @param fileNum the fileIndex, in [0…tr_info.fileCount)