restructure sharry::file
This commit is contained in:
parent
3b4cc49fd1
commit
c5809d8faf
4 changed files with 9 additions and 3 deletions
|
|
@ -8,11 +8,11 @@ use std::{
|
|||
use log::debug;
|
||||
use ureq::{Error::Other, http::StatusCode};
|
||||
|
||||
use super::{
|
||||
use super::super::{
|
||||
alias::{Alias, SharryAlias},
|
||||
chunkedfile::{Chunk, ChunkedFile},
|
||||
share::Share,
|
||||
};
|
||||
use super::chunkedfile::{Chunk, ChunkedFile};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct File<'t> {
|
||||
7
src/sharry/file/mod.rs
Normal file
7
src/sharry/file/mod.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#![allow(unused_imports)]
|
||||
|
||||
mod chunkedfile;
|
||||
mod file;
|
||||
|
||||
pub use chunkedfile::{Chunk, ChunkedFile};
|
||||
pub use file::File;
|
||||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
mod alias;
|
||||
mod api;
|
||||
mod chunkedfile;
|
||||
mod file;
|
||||
mod share;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue