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

Function builtinEnginePath

pkg/workflow/engine_definition_loader.go:79–81  ·  view source on GitHub ↗

builtinEnginePath returns the canonical builtin virtual-FS path for an engine id.

(engineID string)

Source from the content-addressed store, hash-verified

77
78// builtinEnginePath returns the canonical builtin virtual-FS path for an engine id.
79func builtinEnginePath(engineID string) string {
80 return parser.BuiltinPathPrefix + "engines/" + engineID + ".md"
81}
82
83// loadBuiltinEngineDefinitions reads all *.md files from the embedded data/engines/
84// directory, parses each EngineDefinition from its frontmatter, and registers the file

Calls

no outgoing calls

Tested by 1