Enum git_checks_core::FileName
source · pub enum FileName {
// some variants omitted
}
Expand description
A representation of filenames as given by Git.
Git supports filenames with control characters and other non-Unicode byte sequence which are quoted when listed in certain Git command outputs. This enumeration smooths over these differences and offers accessors to the file name in different representations.
Generally, the as_
methods should be preferred to pattern matching on this enumeration.
Implementations§
Trait Implementations§
impl Eq for FileName
Auto Trait Implementations§
impl Freeze for FileName
impl RefUnwindSafe for FileName
impl Send for FileName
impl Sync for FileName
impl Unpin for FileName
impl UnwindSafe for FileName
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