MCPcopy Index your code
hub / github.com/koding/kite / isInstalled

Function isInstalled

kitectl/command/uninstall.go:83–89  ·  view source on GitHub ↗

isInstalled returns true if the kite is installed.

(fullKiteName string)

Source from the content-addressed store, hash-verified

81
82// isInstalled returns true if the kite is installed.
83func 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.
92func exists(path string) (bool, error) {

Callers 2

RunMethod · 0.85
extractTarFunction · 0.85

Calls 2

getBundlePathFunction · 0.85
existsFunction · 0.85

Tested by

no test coverage detected