Table of Contents

Class GitConfigSectionParser

Namespace
SunamoGitConfig
Assembly
SunamoGitConfig.dll

Parser for Git configuration sections

public class GitConfigSectionParser
Inheritance
GitConfigSectionParser
Inherited Members
Extension Methods

Properties

Values

List of parsed configuration sections

public List<GitConfigSectionData> Values { get; set; }

Property Value

List<GitConfigSectionData>

Methods

AddHeaderBlock(GitConfigSection, string)

Adds a new configuration section header

public void AddHeaderBlock(GitConfigSection section, string line)

Parameters

section GitConfigSection

The type of Git configuration section

line string

The header line from the config file

AddSettingsPair(string)

Adds a key-value pair to the current configuration section

public void AddSettingsPair(string line)

Parameters

line string

The settings line in format "key=value"