Table of Contents

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

section GitConfigSection

The 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

string

Section

The type of this configuration section

public GitConfigSection Section { get; set; }

Property Value

GitConfigSection

Settings

Dictionary of key-value pairs representing configuration settings in this section

public Dictionary<string, string> Settings { get; set; }

Property Value

Dictionary<string, string>