MCPcopy
hub / github.com/spicetify/cli / AppAllPath

Function AppAllPath

src/cmd/path.go:90–102  ·  view source on GitHub ↗

AppAllPath returns paths of all apps

()

Source from the content-addressed store, hash-verified

88
89// AppAllPath returns paths of all apps
90func AppAllPath() (string, error) {
91 exts := featureSection.Key("custom_apps").Strings("|")
92 results := []string{}
93 for _, v := range exts {
94 path, err := utils.GetCustomAppPath(v)
95 if err != nil {
96 path = utils.Red("App " + v + " not found")
97 }
98 results = append(results, path)
99 }
100
101 return strings.Join(results, "\n"), nil
102}
103
104func AllPaths() (string, error) {
105 theme, _ := ThemeAllAssetsPath()

Callers 2

mainFunction · 0.92
AllPathsFunction · 0.85

Calls 2

GetCustomAppPathFunction · 0.92
RedFunction · 0.92

Tested by

no test coverage detected