MCPcopy Create free account
hub / github.com/codeHappyDananx/SpecWave / isElectron

Function isElectron

src/stores/project.ts:86–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84
85 // 检查是否在 Electron 环境
86 function isElectron(): boolean {
87 return !!window.electronAPI
88 }
89
90 // 选择项目目录
91 async function selectProject(): Promise<boolean> {

Callers 9

selectProjectFunction · 0.85
loadTaskProgressForNodesFunction · 0.85
ensureWatchDirectoryFunction · 0.85
ensureFileChangeListenerFunction · 0.85
loadFullTreeFunction · 0.85
ensureFullTreeLoadedFunction · 0.85
loadProjectFunction · 0.85
loadNodeChildrenFunction · 0.85
loadFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected