bakare/src/lib.rs

20 lines
338 B
Rust
Raw Normal View History

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;
#[derive(Copy, Clone)]
pub struct ItemVersion<'a>(&'a str);
2019-01-12 14:39:20 +00:00
#[derive(Copy, Clone)]
pub struct IndexVersion;
struct IndexViewReadonly<'a> {
index_version: IndexVersion,
items: Vec<RepositoryItem<'a>>,
2019-01-12 14:39:20 +00:00
}