Downgrade visibility within librqbit

This commit is contained in:
Igor Katson 2023-11-23 16:57:27 +00:00
parent 84766f92fb
commit f45a15c89a
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
9 changed files with 44 additions and 72 deletions

View file

@ -18,7 +18,7 @@ use tracing::{debug, trace, warn};
use crate::type_aliases::{PeerHandle, BF};
pub struct InitialCheckResults {
pub(crate) struct InitialCheckResults {
pub needed_pieces: BF,
pub have_pieces: BF,
pub have_bytes: u64,
@ -43,7 +43,7 @@ pub fn update_hash_from_file<Sha1: ISha1>(
Ok(())
}
pub struct FileOps<'a, Sha1> {
pub(crate) struct FileOps<'a, Sha1> {
torrent: &'a TorrentMetaV1Info<ByteString>,
files: &'a [Arc<Mutex<File>>],
lengths: &'a Lengths,