Class GitConfigSectionData
- Namespace
- SunamoGitConfig.Data
- Assembly
- SunamoGitConfig.dll
Represents a single section in Git configuration file with its settings
public class GitConfigSectionData
- Inheritance
-
GitConfigSectionData
- Inherited Members
- Extension Methods
Constructors
GitConfigSectionData(GitConfigSection)
Represents a single section in Git configuration file with its settings
public GitConfigSectionData(GitConfigSection section)
Parameters
sectionGitConfigSectionThe type of Git configuration section
Properties
Header
The original header line from the config file (e.g., "[remote "origin"]")
public string? Header { get; set; }
Property Value
Section
The type of this configuration section
public GitConfigSection Section { get; set; }
Property Value
Settings
Dictionary of key-value pairs representing configuration settings in this section
public Dictionary<string, string> Settings { get; set; }