MCPcopy Index your code
hub / github.com/cloudfoundry/cli / Complete

Method Complete

command/flag/path.go:60–62  ·  view source on GitHub ↗
(prefix string)

Source from the content-addressed store, hash-verified

58type ManifestPathWithExistenceCheck string
59
60func (ManifestPathWithExistenceCheck) Complete(prefix string) []flags.Completion {
61 return completeWithTilde(prefix)
62}
63
64func (p *ManifestPathWithExistenceCheck) UnmarshalFlag(path string) error {
65 fileInfo, err := checkIfFileExists(path)

Callers

nothing calls this directly

Calls 1

completeWithTildeFunction · 0.85

Tested by

no test coverage detected