Make StoreId be two parts: base and id

This commit is contained in:
Matthias Beyer 2016-08-07 16:45:41 +02:00
parent 30ce28bc29
commit 264d651f1d

View file

@ -14,7 +14,10 @@ use store::Store;
/// The Index into the Store /// The Index into the Store
#[derive(Debug, Clone, PartialEq, Hash, Eq, PartialOrd, Ord)] #[derive(Debug, Clone, PartialEq, Hash, Eq, PartialOrd, Ord)]
pub struct StoreId(PathBuf); pub struct StoreId {
store_location: PathBuf,
id: PathBuf,
}
impl StoreId { impl StoreId {