"main_torrent_info" -> "add_torrent_internal"

This commit is contained in:
Igor Katson 2024-12-05 21:58:12 +00:00
parent 96946d5a81
commit b796a8767b
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -1035,7 +1035,7 @@ impl Session {
}
};
self.main_torrent_info(add_res, opts).await
self.add_torrent_internal(add_res, opts).await
}
.instrument(error_span!(parent: self.rs(), "add_torrent"))
.boxed()
@ -1068,7 +1068,7 @@ impl Session {
Ok::<_, anyhow::Error>(Some(PathBuf::from(longest)))
}
async fn main_torrent_info(
async fn add_torrent_internal(
self: &Arc<Self>,
add_res: InternalAddResult,
mut opts: AddTorrentOptions,