equal
deleted
inserted
replaced
621 .flatten() |
621 .flatten() |
622 .map(|(filename, dispatch)| (Cow::Borrowed(filename), dispatch)), |
622 .map(|(filename, dispatch)| (Cow::Borrowed(filename), dispatch)), |
623 ); |
623 ); |
624 } |
624 } |
625 |
625 |
|
626 #[derive(Debug)] |
626 pub struct DirstateStatus<'a> { |
627 pub struct DirstateStatus<'a> { |
627 pub modified: Vec<Cow<'a, HgPath>>, |
628 pub modified: Vec<Cow<'a, HgPath>>, |
628 pub added: Vec<Cow<'a, HgPath>>, |
629 pub added: Vec<Cow<'a, HgPath>>, |
629 pub removed: Vec<Cow<'a, HgPath>>, |
630 pub removed: Vec<Cow<'a, HgPath>>, |
630 pub deleted: Vec<Cow<'a, HgPath>>, |
631 pub deleted: Vec<Cow<'a, HgPath>>, |
677 bad, |
678 bad, |
678 }, |
679 }, |
679 ) |
680 ) |
680 } |
681 } |
681 |
682 |
|
683 #[derive(Debug)] |
682 pub enum StatusError { |
684 pub enum StatusError { |
683 IO(std::io::Error), |
685 IO(std::io::Error), |
684 Path(HgPathError), |
686 Path(HgPathError), |
685 Pattern(PatternError), |
687 Pattern(PatternError), |
686 } |
688 } |