MCPcopy Index your code
hub / github.com/git-bug/git-bug / ReadString

Method ReadString

repository/config.go:41–41  ·  view source on GitHub ↗

ReadString read a single string value from the config Return ErrNoConfigEntry or ErrMultipleConfigEntry if there is zero or more than one entry for this key

(key string)

Source from the content-addressed store, hash-verified

39 // Return ErrNoConfigEntry or ErrMultipleConfigEntry if
40 // there is zero or more than one entry for this key
41 ReadString(key string) (string, error)
42
43 // ReadTimestamp read a single timestamp value from the config
44 // Return ErrNoConfigEntry or ErrMultipleConfigEntry if

Callers 15

runBridgeAuthAddTokenFunction · 0.65
runBridgeNewFunction · 0.65
promptTargetFunction · 0.65
promptNameFunction · 0.65
PromptDefaultFunction · 0.65
PromptChoiceFunction · 0.65
PromptURLWithRemoteFunction · 0.65
PromptCredentialFunction · 0.65
TestMergedConfigFunction · 0.65
testConfigFunction · 0.65
GetUserNameMethod · 0.65
GetUserEmailMethod · 0.65

Implementers 3

goGitConfigReaderrepository/gogit_config.go
mergedConfigrepository/config.go
MemConfigrepository/config_mem.go

Calls

no outgoing calls

Tested by 1

TestMergedConfigFunction · 0.52