MCPcopy Create free account
hub / github.com/6174/comflowyspace / checkComfyUIVersion

Function checkComfyUIVersion

apps/node/src/modules/comfyui/bootstrap.ts:66–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66export async function checkComfyUIVersion() {
67 try {
68 const ret = await runCommand('git rev-parse HEAD', (event) => { }, {
69 cwd: getComfyUIDir()
70 });
71 return ret.stdout;
72 } catch(err) {
73 logger.info(err);
74 }
75 return ""
76}
77
78export async function checkIsSetupedConfig() {
79 const config = appConfigManager.get(CONFIG_KEYS.appSetupConfig)

Callers 1

checkBasicRequirementsFunction · 0.85

Calls 2

runCommandFunction · 0.90
getComfyUIDirFunction · 0.90

Tested by

no test coverage detected