MCPcopy Create free account
hub / github.com/buggregator/server / boolPtr

Function boolPtr

internal/app/config.go:264–269  ·  view source on GitHub ↗
(cond bool, yes, no bool)

Source from the content-addressed store, hash-verified

262}
263
264func boolPtr(cond bool, yes, no bool) *bool {
265 if cond {
266 return &yes
267 }
268 return &no
269}
270
271func loadConfigFile(path string) Config {
272 var cfg Config

Callers 1

modulesFromCSVFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected