MCPcopy
hub / github.com/git-lfs/git-lfs / Bool

Method Bool

config/url_config.go:54–57  ·  view source on GitHub ↗
(prefix, rawurl, key string, def bool)

Source from the content-addressed store, hash-verified

52}
53
54func (c *URLConfig) Bool(prefix, rawurl, key string, def bool) bool {
55 s, _ := c.Get(prefix, rawurl, key)
56 return Bool(s, def)
57}
58
59func (c *URLConfig) getAll(prefix, rawurl, key string) []string {
60 type urlMatch struct {

Callers 1

setContentTypeForMethod · 0.95

Calls 2

GetMethod · 0.95
BoolFunction · 0.85

Tested by

no test coverage detected