pub enum FileMode {
Unreadable,
Tree,
Blob,
BlobGroupWritable,
BlobExecutable,
Link,
Commit,
}
Expand description
Valid modes for index and tree entries.
Variants§
Unreadable
Unreadable
Tree
Tree
Blob
Blob
BlobGroupWritable
Group writable blob. Obsolete mode kept for compatibility reasons
BlobExecutable
Blob executable
Link
Link
Commit
Commit
Trait Implementations§
source§impl PartialEq for FileMode
impl PartialEq for FileMode
impl Copy for FileMode
impl Eq for FileMode
impl StructuralPartialEq for FileMode
Auto Trait Implementations§
impl Freeze for FileMode
impl RefUnwindSafe for FileMode
impl Send for FileMode
impl Sync for FileMode
impl Unpin for FileMode
impl UnwindSafe for FileMode
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