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

Method referenceStyle

internal/attachments/references.go:227–227  ·  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

225// referenceStyle reports whether the destination lives in a definition rather
226// than beside the reference.
227func (r attachmentRef) referenceStyle() bool { return len(r.defs) > 0 }
228
229// scanMarkdownRefs finds every place the markdown names one of the attached
230// files.

Callers 2

attachAssetsToMarkdownFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected