pub struct EolInfo {
pub index: &'static str,
pub worktree: &'static str,
pub attr: &'static str,
}Expand description
The three ls-files --eol fields for a single path.
Fields§
§index: &'static strStat of the index blob (i/...); empty when there is no index blob.
worktree: &'static strStat of the worktree file (w/...); empty when the file is absent.
attr: &'static strResolved crlf/eol attribute action (attr/...).
Implementations§
Auto Trait Implementations§
impl Freeze for EolInfo
impl RefUnwindSafe for EolInfo
impl Send for EolInfo
impl Sync for EolInfo
impl Unpin for EolInfo
impl UnsafeUnpin for EolInfo
impl UnwindSafe for EolInfo
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