MCPcopy Create free account
hub / github.com/chieapp/chie / #removeIcon

Method #removeIcon

src/model/assistant.ts:134–137  ·  view source on GitHub ↗
(icon: Icon)

Source from the content-addressed store, hash-verified

132
133 // If the icon file is managed by us, remove it.
134 #removeIcon(icon: Icon) {
135 if (icon.filePath.startsWith(Icon.userIconsPath))
136 icon.removeFile();
137 }
138}

Callers 3

destructorMethod · 0.95
setIconMethod · 0.95
setTrayIconMethod · 0.95

Calls 1

removeFileMethod · 0.80

Tested by

no test coverage detected