isInstalled returns true if the kite is installed.
(fullKiteName string)
| 81 | |
| 82 | // isInstalled returns true if the kite is installed. |
| 83 | func isInstalled(fullKiteName string) (bool, error) { |
| 84 | bundlePath, err := getBundlePath(fullKiteName) |
| 85 | if err != nil { |
| 86 | return false, err |
| 87 | } |
| 88 | return exists(bundlePath) |
| 89 | } |
| 90 | |
| 91 | // exists returns whether the given file or directory exists or not. |
| 92 | func exists(path string) (bool, error) { |
no test coverage detected