MCPcopy Index your code
hub / github.com/spicetify/cli / AppPath

Function AppPath

src/cmd/path.go:82–87  ·  view source on GitHub ↗

AppPath return path of app directory

(name string)

Source from the content-addressed store, hash-verified

80
81// AppPath return path of app directory
82func AppPath(name string) (string, error) {
83 if name == "root" {
84 return filepath.Join(utils.GetExecutableDir(), "CustomApps"), nil
85 }
86 return utils.GetCustomAppPath(name)
87}
88
89// AppAllPath returns paths of all apps
90func AppAllPath() (string, error) {

Callers 1

mainFunction · 0.92

Calls 2

GetExecutableDirFunction · 0.92
GetCustomAppPathFunction · 0.92

Tested by

no test coverage detected