equal
deleted
inserted
replaced
10 //! and will only be triggered in narrow cases. |
10 //! and will only be triggered in narrow cases. |
11 |
11 |
12 use crate::dirstate_tree::on_disk::DirstateV2ParseError; |
12 use crate::dirstate_tree::on_disk::DirstateV2ParseError; |
13 |
13 |
14 use crate::{ |
14 use crate::{ |
15 dirstate::TruncatedTimestamp, |
|
16 utils::hg_path::{HgPath, HgPathError}, |
15 utils::hg_path::{HgPath, HgPathError}, |
17 PatternError, |
16 PatternError, |
18 }; |
17 }; |
19 |
18 |
20 use std::{borrow::Cow, fmt}; |
19 use std::{borrow::Cow, fmt}; |
60 /// the dirstate/explicit) paths, this comes up a lot. |
59 /// the dirstate/explicit) paths, this comes up a lot. |
61 pub type HgPathCow<'a> = Cow<'a, HgPath>; |
60 pub type HgPathCow<'a> = Cow<'a, HgPath>; |
62 |
61 |
63 #[derive(Debug, Copy, Clone)] |
62 #[derive(Debug, Copy, Clone)] |
64 pub struct StatusOptions { |
63 pub struct StatusOptions { |
65 /// Remember the most recent modification timeslot for status, to make |
|
66 /// sure we won't miss future size-preserving file content modifications |
|
67 /// that happen within the same timeslot. |
|
68 pub last_normal_time: TruncatedTimestamp, |
|
69 /// Whether we are on a filesystem with UNIX-like exec flags |
64 /// Whether we are on a filesystem with UNIX-like exec flags |
70 pub check_exec: bool, |
65 pub check_exec: bool, |
71 pub list_clean: bool, |
66 pub list_clean: bool, |
72 pub list_unknown: bool, |
67 pub list_unknown: bool, |
73 pub list_ignored: bool, |
68 pub list_ignored: bool, |