Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
No Linters Available |
No Unit Test Coverage |
Path | Packages | |||
---|---|---|---|---|
M | rust/hg-core/src/dirstate/entry.rs (2 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
362312d61020 | 524819ab6fde | Raphaël Gomès | Mar 28 2022, 7:01 AM |
Status | Author | Revision | |
---|---|---|---|
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | Alphare |
bool, | bool, | ||||
Option<(u32, u32)>, | Option<(u32, u32)>, | ||||
Option<TruncatedTimestamp>, | Option<TruncatedTimestamp>, | ||||
Option<bool>, | Option<bool>, | ||||
Option<bool>, | Option<bool>, | ||||
) { | ) { | ||||
if !self.any_tracked() { | if !self.any_tracked() { | ||||
// TODO: return an Option instead? | // TODO: return an Option instead? | ||||
panic!("Accessing v1_state of an untracked DirstateEntry") | panic!("Accessing v2_data of an untracked DirstateEntry") | ||||
} | } | ||||
let wdir_tracked = self.flags.contains(Flags::WDIR_TRACKED); | let wdir_tracked = self.flags.contains(Flags::WDIR_TRACKED); | ||||
let p1_tracked = self.flags.contains(Flags::P1_TRACKED); | let p1_tracked = self.flags.contains(Flags::P1_TRACKED); | ||||
let p2_info = self.flags.contains(Flags::P2_INFO); | let p2_info = self.flags.contains(Flags::P2_INFO); | ||||
let mode_size = self.mode_size; | let mode_size = self.mode_size; | ||||
let mtime = self.mtime; | let mtime = self.mtime; | ||||
( | ( | ||||
wdir_tracked, | wdir_tracked, |