bakare/src/lib.rs

20 lines
377 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;
2019-09-01 17:03:27 +01:00
#[derive(Copy, Clone, Debug, PartialOrd, PartialEq, Ord, Eq)]
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
}