Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
UploadAndAttach
Method · 0.65
TestFlagUserAssets
Function · 0.65
userAssetsFromArgs
Function · 0.65
TestNewAsset
Function · 0.65
upload
Method · 0.65
Implementers
2
imageAsset
internal/attachments/userasset.go
videoAsset
internal/attachments/userasset.go
Calls
no outgoing calls
Tested by
2
TestFlagUserAssets
Function · 0.52
TestNewAsset
Function · 0.52