(path string, extension string)
| 1043 | } |
| 1044 | |
| 1045 | func FileExtensionIs(path string, extension string) bool { |
| 1046 | return len(path) > len(extension) && strings.HasSuffix(path, extension) |
| 1047 | } |
| 1048 | |
| 1049 | // Calls `callback` on `directory` and every ancestor directory it has, returning the first defined result. |
| 1050 | // Stops at global cache location |
no test coverage detected