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

Method Has

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.80
newFixtureToolResponseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected