()
| 10 | } |
| 11 | |
| 12 | func NewLocator() *Locator { |
| 13 | return &Locator{ |
| 14 | FilesToCheckFor: []string{ |
| 15 | "manifest.yml", |
| 16 | "manifest.yaml", |
| 17 | }, |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | func (loc Locator) Path(filepathOrDirectory string) (string, bool, error) { |
| 22 | info, err := os.Stat(filepathOrDirectory) |
no outgoing calls
no test coverage detected