MCPcopy
hub / github.com/cli/cli / LegacyBody

Method LegacyBody

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

Source from the content-addressed store, hash-verified

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

Callers 3

createRunFunction · 0.80

Calls 1

BodyMethod · 0.65

Tested by 2