MCPcopy Create free account
hub / github.com/github/gh-aw / Get

Method Get

pkg/workflow/engine_definition.go:202–204  ·  view source on GitHub ↗

Get returns the EngineDefinition for the given ID, or nil if not found.

(id string)

Source from the content-addressed store, hash-verified

200
201// Get returns the EngineDefinition for the given ID, or nil if not found.
202func (c *EngineCatalog) Get(id string) *EngineDefinition {
203 return c.definitions[id]
204}
205
206// IDs returns a sorted list of all engine IDs in the catalog.
207func (c *EngineCatalog) IDs() []string {

Calls

no outgoing calls

Tested by 1