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

Method Register

pkg/workflow/engine_definition.go:197–199  ·  view source on GitHub ↗

Register adds or replaces an EngineDefinition in the catalog.

(def *EngineDefinition)

Source from the content-addressed store, hash-verified

195
196// Register adds or replaces an EngineDefinition in the catalog.
197func (c *EngineCatalog) Register(def *EngineDefinition) {
198 c.definitions[def.ID] = def
199}
200
201// Get returns the EngineDefinition for the given ID, or nil if not found.
202func (c *EngineCatalog) Get(id string) *EngineDefinition {

Callers 2

NewEngineCatalogFunction · 0.95

Calls

no outgoing calls

Tested by 1