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

Method Complete

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

Source from the content-addressed store, hash-verified

37type PathWithExistenceCheck string
38
39func (PathWithExistenceCheck) Complete(prefix string) []flags.Completion {
40 return completeWithTilde(prefix)
41}
42
43func (p *PathWithExistenceCheck) UnmarshalFlag(path string) error {
44 _, err := checkIfFileExists(path)

Callers

nothing calls this directly

Calls 1

completeWithTildeFunction · 0.85

Tested by

no test coverage detected