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

Method referenceStyle

internal/attachments/references.go:241–241  ·  view source on GitHub ↗

referenceStyle reports whether the destination lives in a definition rather than beside the reference.

()

Source from the content-addressed store, hash-verified

239// referenceStyle reports whether the destination lives in a definition rather
240// than beside the reference.
241func (r attachmentRef) referenceStyle() bool { return len(r.defs) > 0 }
242
243// scanMarkdownRefs finds every place the markdown names one of the attached
244// files.

Callers 2

attachAssetsToMarkdownFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected