Enum git_repository::Path [−][src]
Expand description
A repository path which either points to a work tree or the .git
repository itself.
Variants
WorkTree(PathBuf)
Tuple Fields
0: PathBuf
The currently checked out or nascent work tree of a git repository.
Repository(PathBuf)
Tuple Fields
0: PathBuf
The git repository itself
Implementations
Instantiate a new path from dir
which is expected to be the .git
directory, with kind
indicating
whether it’s a bare repository or not.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Path
impl UnwindSafe for Path
Blanket Implementations
Mutably borrows from an owned value. Read more