Move files around a bit
This commit is contained in:
parent
f2ae2f67f4
commit
cd33f99352
3 changed files with 5 additions and 2 deletions
|
|
@ -35,7 +35,6 @@ mod file_ops;
|
||||||
pub mod http_api;
|
pub mod http_api;
|
||||||
pub mod http_api_client;
|
pub mod http_api_client;
|
||||||
mod merge_streams;
|
mod merge_streams;
|
||||||
mod opened_file;
|
|
||||||
mod peer_connection;
|
mod peer_connection;
|
||||||
mod peer_info_reader;
|
mod peer_info_reader;
|
||||||
mod read_buf;
|
mod read_buf;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
mod opened_file;
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
fs::OpenOptions,
|
fs::OpenOptions,
|
||||||
io::{Read, Seek, SeekFrom, Write},
|
io::{Read, Seek, SeekFrom, Write},
|
||||||
|
|
@ -6,7 +8,9 @@ use std::{
|
||||||
|
|
||||||
use anyhow::Context;
|
use anyhow::Context;
|
||||||
|
|
||||||
use crate::{opened_file::OpenedFile, torrent_state::ManagedTorrentInfo};
|
use crate::torrent_state::ManagedTorrentInfo;
|
||||||
|
|
||||||
|
use self::opened_file::OpenedFile;
|
||||||
|
|
||||||
use super::{StorageFactory, TorrentStorage};
|
use super::{StorageFactory, TorrentStorage};
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue