pub struct StagedFile<'bytes> {
pub path: String,
pub role: RuntimeRole,
pub executable: bool,
pub bytes: &'bytes [u8],
}Expand description
One staged runtime file: its action-tree path, its role, whether Git will record the execute bit, and its exact bytes.
Fields§
§path: String§role: RuntimeRole§executable: bool§bytes: &'bytes [u8]Auto Trait Implementations§
impl<'bytes> Freeze for StagedFile<'bytes>
impl<'bytes> RefUnwindSafe for StagedFile<'bytes>
impl<'bytes> Send for StagedFile<'bytes>
impl<'bytes> Sync for StagedFile<'bytes>
impl<'bytes> Unpin for StagedFile<'bytes>
impl<'bytes> UnsafeUnpin for StagedFile<'bytes>
impl<'bytes> UnwindSafe for StagedFile<'bytes>
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