1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use super::*;

mod download;
mod upload;

pub struct ContentResolver {
    content: Vec<u8>,
}

pub struct UploadTask<'s> {
    content: Vec<u8>,
    target: PathBuf,
    permission: i32,
    session: &'s SSH2Session,
}

pub struct DownloadTask<'s> {
    target: PathBuf,
    session: &'s SSH2Session,
}