rust/hg-core/src/dirstate/status.rs
changeset 48260 269ff8978086
parent 48068 bf8837e3d7ce
child 48391 b80e5e75d51e
equal deleted inserted replaced
48259:84f6b0c41b90 48260:269ff8978086
    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,
    15     utils::hg_path::{HgPath, HgPathError},
    16     utils::hg_path::{HgPath, HgPathError},
    16     PatternError,
    17     PatternError,
    17 };
    18 };
    18 
    19 
    19 use std::{borrow::Cow, fmt};
    20 use std::{borrow::Cow, fmt};
    62 #[derive(Debug, Copy, Clone)]
    63 #[derive(Debug, Copy, Clone)]
    63 pub struct StatusOptions {
    64 pub struct StatusOptions {
    64     /// Remember the most recent modification timeslot for status, to make
    65     /// Remember the most recent modification timeslot for status, to make
    65     /// sure we won't miss future size-preserving file content modifications
    66     /// sure we won't miss future size-preserving file content modifications
    66     /// that happen within the same timeslot.
    67     /// that happen within the same timeslot.
    67     pub last_normal_time: i64,
    68     pub last_normal_time: TruncatedTimestamp,
    68     /// Whether we are on a filesystem with UNIX-like exec flags
    69     /// Whether we are on a filesystem with UNIX-like exec flags
    69     pub check_exec: bool,
    70     pub check_exec: bool,
    70     pub list_clean: bool,
    71     pub list_clean: bool,
    71     pub list_unknown: bool,
    72     pub list_unknown: bool,
    72     pub list_ignored: bool,
    73     pub list_ignored: bool,