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

Method getAsset

internal/attachments/userasset.go:47–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46 rendersAsPlayer() bool
47 getAsset() asset
48 markdown(assetURL string) string
49}
50

Callers 5

UploadAndAttachMethod · 0.65
TestFlagUserAssetsFunction · 0.65
userAssetsFromArgsFunction · 0.65
TestNewAssetFunction · 0.65
uploadMethod · 0.65

Implementers 2

imageAssetinternal/attachments/userasset.go
videoAssetinternal/attachments/userasset.go

Calls

no outgoing calls

Tested by 2

TestFlagUserAssetsFunction · 0.52
TestNewAssetFunction · 0.52