2019-08-31 17:14:34 +01:00
|
|
|
use crate::repository::RepositoryItem;
|
2019-01-12 14:39:20 +00:00
|
|
|
|
2018-10-04 15:29:19 +01:00
|
|
|
pub mod backup;
|
2019-01-12 14:42:53 +00:00
|
|
|
pub mod error;
|
2018-10-04 15:29:19 +01:00
|
|
|
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;
|
|
|
|
|
2019-08-31 17:14:34 +01:00
|
|
|
#[derive(Copy, Clone)]
|
|
|
|
pub struct ItemVersion<'a>(&'a str);
|
2019-01-12 14:39:20 +00:00
|
|
|
|
2019-08-31 17:14:34 +01:00
|
|
|
#[derive(Copy, Clone)]
|
2019-01-26 20:20:03 +00:00
|
|
|
pub struct IndexVersion;
|
2019-08-31 17:14:34 +01:00
|
|
|
|
|
|
|
struct IndexViewReadonly<'a> {
|
|
|
|
index_version: IndexVersion,
|
|
|
|
items: Vec<RepositoryItem<'a>>,
|
2019-01-12 14:39:20 +00:00
|
|
|
}
|