aboutsummaryrefslogtreecommitdiff
path: root/config/config.go
blob: 5564d940339839bc0a9a55ac145dd6098f86a02e (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Package config provides configuration parsing.
package config

// Config holds all parsed configuration entries from a Git config file.
//
// A Config preserves the ordering of entries as they appeared in the source.
//
// Lookups are matched case-insensitively for section and key names, and
// subsections must match exactly.
//
// Includes aren't supported yet; they will be supported in a later revision.
type Config struct {
	entries []ConfigEntry
}