pub struct Entry {
pub path: RelPath,
pub part: Option<Part>,
pub want: Option<Want>,
pub record: Option<Fingerprint>,
pub recorded: Option<Policy>,
pub found: Option<Fingerprint>,
pub conflict: bool,
pub gate: Option<Reason>,
/* private fields */
}Expand description
One managed file, or one profile’s part of it: what the profile wants, what devset recorded, what is on disk.
Fields§
§path: RelPathThe file.
part: Option<Part>The part of the file this entry is; None for the whole file.
want: Option<Want>What the profile provides; None once no layer provides it.
record: Option<Fingerprint>What devset last recorded.
recorded: Option<Policy>The policy it was recorded under; None without a record.
found: Option<Fingerprint>What is on disk: the file, or what it holds of the part.
conflict: boolWhether a conflicted merge of the file waits in .devset/conflicts/.
gate: Option<Reason>Why its gates turned it off, when they released it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more