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

Function ApiEnvCheck

apps/node/src/routes/api/bootstrap.ts:24–38  ·  view source on GitHub ↗
(req: Request, res: Response)

Source from the content-addressed store, hash-verified

22 * @param res
23 */
24export async function ApiEnvCheck(req: Request, res: Response) {
25 try {
26 logger.info("start env check")
27 const requirements = await checkBasicRequirements()
28 res.send({
29 success: true,
30 data: requirements
31 });
32 } catch (err: any) {
33 res.send({
34 success: false,
35 error: err.message + err.stack
36 })
37 }
38}
39
40/**
41 * get conda info

Callers

nothing calls this directly

Calls 1

checkBasicRequirementsFunction · 0.90

Tested by

no test coverage detected