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
30025a0d
ROOT
/
go
/
libraries
/
doltcore
/
env
/
config.go
Search
History
286 lines
|
ISO-8859-1
|
8 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
localConfigName
globalConfigName
UserEmailKey
UserNameKey
UserCreds
DoltEditor
InitBranchName
RemotesApiHostKey
RemotesApiHostPortKey
AddCredsUrlKey
DoltLabInsecureKey
MetricsDisabled
MetricsHost
MetricsPort
MetricsInsecure
LocalConfigWhitelist
GlobalConfigWhitelist
ConfigScope
String
()
:
string
LocalConfig
:
ConfigScope
GlobalConfig
SqlServerGlobalsPrefix
DoltCliConfig
config.ReadableConfig
ch
:
*config.ConfigHierarchy
fs
:
filesys.ReadWriteFS
SetFailsafes
(cfg map[string]string)
_
:
config.ReadableConfig
LoadDoltCliConfig
(hdp HomeDirProvider, fs filesys.ReadWriteFS)
:
(*DoltCliConfig, error)
ensureGlobalConfig
(path string, fs filesys.ReadWriteFS)
:
(config.ReadWriteConfig, error)
GetStringOrDefault
(cfg config.ReadableConfig, key, defStr string)
:
string
GetNameAndEmail
(cfg config.ReadableConfig)
:
(string, string, error)
writeableLocalDoltCliConfig
DoltCliConfig
SetStrings
(updates map[string]string)
:
error
Unset
(params []string)
:
error
DefaultEmail
DefaultName
DefaultFailsafeConfig
*DoltCliConfig
CreateLocalConfig
(vals map[string]string)
:
error
createLocalConfigAt
(dir string, vals map[string]string)
:
error
GetConfig
(element ConfigScope)
:
(config.ReadWriteConfig, bool)
GetStringOrDefault
(key, defStr string)
:
string
IfEmptyUseConfig
(val, key string)
:
string
WriteableConfig
()
:
config.ReadWriteConfig
All occurrences
Please wait...
Page is in error, reload to recover