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

Struct imageAsset

internal/attachments/userasset.go:59–59  ·  view source on GitHub ↗

imageAsset renders as a markdown image.

Source from the content-addressed store, hash-verified

57
58// imageAsset renders as a markdown image.
59type imageAsset struct{ asset }
60
61func (a *imageAsset) Path() string { return a.asset.path }
62func (a *imageAsset) getAsset() asset { return a.asset }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected