Mercurial > hg
comparison rust/hg-core/src/dirstate/status.rs @ 48422:000130cfafb6
rhg: Update the dirstate on disk after status
Differential Revision: https://phab.mercurial-scm.org/D11840
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Thu, 25 Nov 2021 18:33:51 +0100 |
parents | b80e5e75d51e |
children | 473af5cbc209 |
comparison
equal
deleted
inserted
replaced
48421:2097f63575a5 | 48422:000130cfafb6 |
---|---|
71 pub collect_traversed_dirs: bool, | 71 pub collect_traversed_dirs: bool, |
72 } | 72 } |
73 | 73 |
74 #[derive(Debug, Default)] | 74 #[derive(Debug, Default)] |
75 pub struct DirstateStatus<'a> { | 75 pub struct DirstateStatus<'a> { |
76 /// The current time at the start of the `status()` algorithm, as measured | |
77 /// and possibly truncated by the filesystem. | |
78 pub filesystem_time_at_status_start: Option<std::time::SystemTime>, | |
79 | |
76 /// Tracked files whose contents have changed since the parent revision | 80 /// Tracked files whose contents have changed since the parent revision |
77 pub modified: Vec<HgPathCow<'a>>, | 81 pub modified: Vec<HgPathCow<'a>>, |
78 | 82 |
79 /// Newly-tracked files that were not present in the parent | 83 /// Newly-tracked files that were not present in the parent |
80 pub added: Vec<HgPathCow<'a>>, | 84 pub added: Vec<HgPathCow<'a>>, |