MCPcopy Create free account
hub / github.com/cli/cli / LegacyBody

Method LegacyBody

pkg/cmd/pr/shared/templates.go:176–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174}
175
176func (m *templateManager) LegacyBody() []byte {
177 if m.legacyTemplate == nil {
178 return nil
179 }
180 return m.legacyTemplate.Body()
181}
182
183func (m *templateManager) Choose() (Template, error) {
184 if err := m.memoizedFetch(); err != nil {

Callers 3

createRunFunction · 0.80

Calls 1

BodyMethod · 0.65

Tested by 2