Mercurial > hg
comparison rust/hg-core/src/dirstate_tree/status.rs @ 47112:d5956136d19d
dirstate-tree: Give to `status()` mutable access to the `DirstateMap`
Differential Revision: https://phab.mercurial-scm.org/D10546
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Fri, 16 Apr 2021 12:12:04 +0200 |
parents | |
children | be579775c2d9 |
comparison
equal
deleted
inserted
replaced
47111:623c8e4ddc6d | 47112:d5956136d19d |
---|---|
1 use crate::dirstate_tree::dirstate_map::DirstateMap; | |
2 use crate::matchers::Matcher; | |
3 use crate::DirstateStatus; | |
4 use crate::PatternFileWarning; | |
5 use crate::StatusError; | |
6 use crate::StatusOptions; | |
7 use std::path::PathBuf; | |
8 | |
9 pub fn status<'a>( | |
10 _dmap: &'a mut DirstateMap, | |
11 _matcher: &'a (dyn Matcher + Sync), | |
12 _root_dir: PathBuf, | |
13 _ignore_files: Vec<PathBuf>, | |
14 _options: StatusOptions, | |
15 ) -> Result<(DirstateStatus<'a>, Vec<PatternFileWarning>), StatusError> { | |
16 todo!() | |
17 } |