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

Function getAssetsPath

src/apply/apply.go:448–456  ·  view source on GitHub ↗
(themeFolder string)

Source from the content-addressed store, hash-verified

446}
447
448func getAssetsPath(themeFolder string) string {
449 dir := filepath.Join(themeFolder, "assets")
450
451 if _, err := os.Stat(dir); err != nil {
452 return ""
453 }
454
455 return dir
456}
457
458func insertSidebarConfig(jsPath string, flags Flag) {
459 if !flags.SidebarConfig {

Callers 1

UserAssetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected