pub struct IncludeContext {
pub git_dir: Option<PathBuf>,
pub command_line_relative_include_is_error: bool,
}Expand description
Context for evaluating [includeIf] conditions (gitdir:, onbranch:).
Fields§
§git_dir: Option<PathBuf>Git directory path used for gitdir: matching (may contain unresolved symlinks).
command_line_relative_include_is_error: boolWhen true, git -c include.path=relative fails instead of ignoring the include.
Trait Implementations§
Source§impl Clone for IncludeContext
impl Clone for IncludeContext
Source§fn clone(&self) -> IncludeContext
fn clone(&self) -> IncludeContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IncludeContext
impl Debug for IncludeContext
Source§impl Default for IncludeContext
impl Default for IncludeContext
Source§fn default() -> IncludeContext
fn default() -> IncludeContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IncludeContext
impl RefUnwindSafe for IncludeContext
impl Send for IncludeContext
impl Sync for IncludeContext
impl Unpin for IncludeContext
impl UnsafeUnpin for IncludeContext
impl UnwindSafe for IncludeContext
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