pub enum EntryKind {
File,
Executable,
Symlink,
Gitlink,
}Expand description
entry の種別。git の mode から導出する。
Variants§
File
Executable
Symlink
content はリンク先の path。
Gitlink
submodule。content は指し先 commit の oid (20 byte 生値) で、blob は存在しない。
Trait Implementations§
impl Copy for EntryKind
impl Eq for EntryKind
impl StructuralPartialEq for EntryKind
Auto Trait Implementations§
impl Freeze for EntryKind
impl RefUnwindSafe for EntryKind
impl Send for EntryKind
impl Sync for EntryKind
impl Unpin for EntryKind
impl UnsafeUnpin for EntryKind
impl UnwindSafe for EntryKind
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