MCPcopy Create free account
hub / github.com/chieapp/chie / getImage

Method getImage

src/model/icon.ts:52–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50 }
51
52 getImage() {
53 if (!this.#image)
54 this.#image = gui.Image.createFromPath(realpathSync(this.filePath));
55 return this.#image;
56 }
57
58 removeFile() {
59 if (process.platform == 'win32' && this.#image)

Callers 5

#resizeIconMethod · 0.95
setTrayIconMethod · 0.45
setValueMethod · 0.45
setImageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected