Fixing up initialization to allow passing in custom storages
This commit is contained in:
parent
1b49257019
commit
42bbf84ea5
8 changed files with 128 additions and 90 deletions
|
|
@ -2,7 +2,7 @@ use std::path::PathBuf;
|
|||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct FileInfo {
|
||||
pub filename: PathBuf,
|
||||
pub relative_filename: PathBuf,
|
||||
pub offset_in_torrent: u64,
|
||||
pub piece_range: std::ops::Range<u32>,
|
||||
pub len: u64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue