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