pub struct LoadConfigOptions {
pub include_system: bool,
pub process_includes: bool,
pub command_includes: bool,
pub include_ctx: IncludeContext,
}Expand description
Options controlling how ConfigSet::load_with_options merges files and includes.
Fields§
§include_system: boolLoad /etc/gitconfig (unless GIT_CONFIG_NOSYSTEM is set).
process_includes: boolExpand [include] / [includeIf] while reading file-backed layers.
command_includes: boolExpand includes for synthetic command-line config built from GIT_CONFIG_PARAMETERS.
include_ctx: IncludeContextTrait Implementations§
Source§impl Clone for LoadConfigOptions
impl Clone for LoadConfigOptions
Source§fn clone(&self) -> LoadConfigOptions
fn clone(&self) -> LoadConfigOptions
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 LoadConfigOptions
impl Debug for LoadConfigOptions
Auto Trait Implementations§
impl Freeze for LoadConfigOptions
impl RefUnwindSafe for LoadConfigOptions
impl Send for LoadConfigOptions
impl Sync for LoadConfigOptions
impl Unpin for LoadConfigOptions
impl UnsafeUnpin for LoadConfigOptions
impl UnwindSafe for LoadConfigOptions
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