Show More
@@ -6,6 +6,7 b'' | |||
|
6 | 6 | // GNU General Public License version 2 or any later version. |
|
7 | 7 | |
|
8 | 8 | use crate::DirstateParseError; |
|
9 | use std::collections::hash_map; | |
|
9 | 10 | use std::collections::HashMap; |
|
10 | 11 | use std::convert::TryFrom; |
|
11 | 12 | |
@@ -31,7 +32,9 b' pub struct DirstateEntry {' | |||
|
31 | 32 | } |
|
32 | 33 | |
|
33 | 34 | pub type StateMap = HashMap<Vec<u8>, DirstateEntry>; |
|
35 | pub type StateMapIter<'a> = hash_map::Iter<'a, Vec<u8>, DirstateEntry>; | |
|
34 | 36 | pub type CopyMap = HashMap<Vec<u8>, Vec<u8>>; |
|
37 | pub type CopyMapIter<'a> = hash_map::Iter<'a, Vec<u8>, Vec<u8>>; | |
|
35 | 38 | |
|
36 | 39 | #[derive(Copy, Clone, Debug, Eq, PartialEq)] |
|
37 | 40 | pub enum EntryState { |
@@ -12,7 +12,8 b' pub use dirstate::{' | |||
|
12 | 12 | dirs_multiset::{DirsMultiset, DirsMultisetIter}, |
|
13 | 13 | dirstate_map::DirstateMap, |
|
14 | 14 | parsers::{pack_dirstate, parse_dirstate, PARENT_SIZE}, |
|
15 |
CopyMap, DirstateEntry, DirstateParents, EntryState, |
|
|
15 | CopyMap, CopyMapIter, DirstateEntry, DirstateParents, EntryState, | |
|
16 | StateMap, StateMapIter, | |
|
16 | 17 | }; |
|
17 | 18 | mod filepatterns; |
|
18 | 19 | pub mod utils; |
General Comments 0
You need to be logged in to leave comments.
Login now