pub struct GitConfig {
pub enabled: bool,
pub respect_gitignore: bool,
pub include_status: bool,
pub analyze_history: bool,
pub history_depth: usize,
pub include_untracked: bool,
pub git_timeout: u64,
}Expand description
Git integration configuration
Fields§
§enabled: boolWhether to use git information
respect_gitignore: boolWhether to respect .gitignore
include_status: boolWhether to include git status in analysis
analyze_history: boolWhether to analyze git history for churn
history_depth: usizeNumber of commits to analyze for churn (0 = all)
include_untracked: boolWhether to include untracked files
git_timeout: u64Git command timeout in seconds
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GitConfig
impl<'de> Deserialize<'de> for GitConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GitConfig
impl RefUnwindSafe for GitConfig
impl Send for GitConfig
impl Sync for GitConfig
impl Unpin for GitConfig
impl UnwindSafe for GitConfig
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