MCPcopy Create free account
hub / github.com/ahmedakef/goshell / getProgram

Method getProgram

manager.go:131–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131func (m *Manager) getProgram() (string, error) {
132 commands := m.prepareCommands()
133 return prepareProgram(m.templatePath, commands, m.functions)
134}
135
136func (m *Manager) prepareCommands() []command {
137 commands := make([]command, len(m.commands))

Callers 1

mainFunction · 0.80

Calls 2

prepareCommandsMethod · 0.95
prepareProgramFunction · 0.85

Tested by

no test coverage detected