rust/hg-core/src/dirstate_tree/dispatch.rs
changeset 47482 eb416759af7e
parent 47357 3b9914b28133
child 47496 8851acad5906
equal deleted inserted replaced
47481:f23eafb036af 47482:eb416759af7e
    93         &mut self,
    93         &mut self,
    94         parents: DirstateParents,
    94         parents: DirstateParents,
    95         now: Timestamp,
    95         now: Timestamp,
    96     ) -> Result<Vec<u8>, DirstateError>;
    96     ) -> Result<Vec<u8>, DirstateError>;
    97 
    97 
    98     fn set_all_dirs(&mut self) -> Result<(), DirstateError>;
       
    99 
       
   100     fn set_dirs(&mut self) -> Result<(), DirstateError>;
       
   101 
       
   102     fn status<'a>(
    98     fn status<'a>(
   103         &'a mut self,
    99         &'a mut self,
   104         matcher: &'a (dyn Matcher + Sync),
   100         matcher: &'a (dyn Matcher + Sync),
   105         root_dir: PathBuf,
   101         root_dir: PathBuf,
   106         ignore_files: Vec<PathBuf>,
   102         ignore_files: Vec<PathBuf>,
   279         panic!(
   275         panic!(
   280             "should have used dirstate_tree::DirstateMap to use the v2 format"
   276             "should have used dirstate_tree::DirstateMap to use the v2 format"
   281         )
   277         )
   282     }
   278     }
   283 
   279 
   284     fn set_all_dirs(&mut self) -> Result<(), DirstateError> {
       
   285         self.set_all_dirs()
       
   286     }
       
   287 
       
   288     fn set_dirs(&mut self) -> Result<(), DirstateError> {
       
   289         self.set_dirs()
       
   290     }
       
   291 
       
   292     fn status<'a>(
   280     fn status<'a>(
   293         &'a mut self,
   281         &'a mut self,
   294         matcher: &'a (dyn Matcher + Sync),
   282         matcher: &'a (dyn Matcher + Sync),
   295         root_dir: PathBuf,
   283         root_dir: PathBuf,
   296         ignore_files: Vec<PathBuf>,
   284         ignore_files: Vec<PathBuf>,