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

Function getExtractFolder

src/cmd/cmd.go:214–224  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212}
213
214func getExtractFolder() (string, string) {
215 dir := utils.GetStateFolder("Extracted")
216
217 raw := filepath.Join(dir, "Raw")
218 utils.CheckExistAndCreate(raw)
219
220 themed := filepath.Join(dir, "Themed")
221 utils.CheckExistAndCreate(themed)
222
223 return raw, themed
224}
225
226func getThemeFolder(themeName string) string {
227 folder := filepath.Join(userThemesFolder, themeName)

Callers 1

cmd.goFile · 0.85

Calls 2

GetStateFolderFunction · 0.92
CheckExistAndCreateFunction · 0.92

Tested by

no test coverage detected