2019-01-12 14:39:20 +00:00
|
|
|
use std::collections::HashMap;
|
|
|
|
use std::fmt::Display;
|
|
|
|
use std::fmt::Formatter;
|
|
|
|
use std::io;
|
|
|
|
|
|
|
|
use failure::Fail;
|
|
|
|
|
|
|
|
pub mod error;
|
2018-10-04 15:29:19 +01:00
|
|
|
pub mod backup;
|
|
|
|
pub mod restore;
|
2018-12-22 16:09:22 +00:00
|
|
|
pub mod source;
|
|
|
|
|
2019-01-12 14:39:20 +00:00
|
|
|
pub mod repository;
|
|
|
|
|
|
|
|
pub struct Version(String);
|
|
|
|
struct RepositoryRelativePath {}
|
|
|
|
|
|
|
|
struct Index<'a> {
|
|
|
|
versions: HashMap<&'a RepositoryRelativePath, &'a Version>,
|
|
|
|
}
|
|
|
|
|
|
|
|
|