MCPcopy Create free account
hub / github.com/git-bug/git-bug / ReadBool

Method ReadBool

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

ReadBool read a single boolean 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

34 // Return ErrNoConfigEntry or ErrMultipleConfigEntry if
35 // there is zero or more than one entry for this key
36 ReadBool(key string) (bool, error)
37
38 // ReadString read a single string value from the config
39 // Return ErrNoConfigEntry or ErrMultipleConfigEntry if

Callers 4

runWebUIFunction · 0.65
TestMergedConfigFunction · 0.65
testConfigFunction · 0.65
ReadBoolMethod · 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