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

Method Path

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

Path is the file as the user wrote it, so a caller naming it back names what they typed.

()

Source from the content-addressed store, hash-verified

42 // Path is the file as the user wrote it, so a caller naming it back names
43 // what they typed.
44 Path() string
45
46 rendersAsPlayer() bool
47 getAsset() asset

Callers 5

appendUnreferencedFunction · 0.65
TestFlagUserAssetsFunction · 0.65
userAssetsFromArgsFunction · 0.65
TestNewAssetFunction · 0.65
newUploadErrorFunction · 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