Make StoreId be two parts: base and id
This commit is contained in:
parent
30ce28bc29
commit
264d651f1d
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue