MCPcopy Index your code
hub / github.com/coder/coder / getConfig

Method getConfig

scripts/intxcheck/testdata/src/example/example.go:129–132  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

127}
128
129func (srv *Server) getConfig(ctx context.Context) string {
130 value, _ := srv.db.GetConfig(ctx)
131 return value
132}
133
134func (s *Server) correctUsage(ctx context.Context) error {
135 return s.db.InTx(func(tx Store) error {

Callers 2

indirectMisuseMethod · 0.95
aliasedHelperMisuseMethod · 0.80

Calls 1

GetConfigMethod · 0.65

Tested by

no test coverage detected