MCPcopy Create free account
hub / github.com/coder/coder / Has

Method Has

aibridge/fixtures/fixtures.go:189–192  ·  view source on GitHub ↗

Has reports whether the fixture contains the named section.

(name string)

Source from the content-addressed store, hash-verified

187
188// Has reports whether the fixture contains the named section.
189func (f Fixture) Has(name string) bool {
190 _, ok := f.sections[name]
191 return ok
192}
193
194func (f Fixture) Request() []byte {
195 f.t.Helper()

Callers 2

newFixtureResponseFunction · 0.45
newFixtureToolResponseFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected