crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
9becfc9d
ROOT
/
go
/
libraries
/
utils
/
config
/
config_hierarchy.go
Search
History
218 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
namespaceSep
ErrUnknownConfig
ConfigHierarchy
configs
:
[]ReadWriteConfig
nameToConfig
:
map[string]ReadWriteConfig
_
:
ReadableConfig
_
:
WritableConfig
_
:
ReadWriteConfig
NewConfigHierarchy
()
:
*ConfigHierarchy
splitParamName
(paramName string)
:
(string, string)
*ConfigHierarchy
AddConfig
(name string, cs ReadWriteConfig)
GetConfig
(name string)
:
(ReadWriteConfig, bool)
GetString
(k string)
:
(string, error)
GetStringOrDefault
(key, defStr string)
:
string
SetStrings
(updates map[string]string)
:
error
Iter
(cb func(string, string) (stop bool))
Unset
(params []string)
:
error
Size
()
:
int
All occurrences
Please wait...
Page is in error, reload to recover