Renames
This commit is contained in:
parent
b4512e4809
commit
451debedbb
19 changed files with 127 additions and 114 deletions
|
|
@ -19,11 +19,11 @@ use crate::{
|
|||
FileInfos,
|
||||
};
|
||||
|
||||
use super::{paused::TorrentStatePaused, ManagedTorrentInfo};
|
||||
use super::{paused::TorrentStatePaused, ManagedTorrentShared};
|
||||
|
||||
pub struct TorrentStateInitializing {
|
||||
pub(crate) files: FileStorage,
|
||||
pub(crate) meta: Arc<ManagedTorrentInfo>,
|
||||
pub(crate) meta: Arc<ManagedTorrentShared>,
|
||||
pub(crate) only_files: Option<Vec<usize>>,
|
||||
pub(crate) checked_bytes: AtomicU64,
|
||||
}
|
||||
|
|
@ -48,7 +48,7 @@ fn compute_selected_pieces(
|
|||
|
||||
impl TorrentStateInitializing {
|
||||
pub fn new(
|
||||
meta: Arc<ManagedTorrentInfo>,
|
||||
meta: Arc<ManagedTorrentShared>,
|
||||
only_files: Option<Vec<usize>>,
|
||||
files: FileStorage,
|
||||
) -> Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue