MCPcopy Create free account
hub / github.com/astercloud/aster / getStatusIcon

Function getStatusIcon

pkg/executionplan/generator.go:398–413  ·  view source on GitHub ↗

getStatusIcon 获取状态图标

(status StepStatus)

Source from the content-addressed store, hash-verified

396
397// getStatusIcon 获取状态图标
398func getStatusIcon(status StepStatus) string {
399 switch status {
400 case StepStatusPending:
401 return "⏳"
402 case StepStatusRunning:
403 return "🔄"
404 case StepStatusCompleted:
405 return "✅"
406 case StepStatusFailed:
407 return "❌"
408 case StepStatusSkipped:
409 return "⏭️"
410 default:
411 return ""
412 }
413}
414
415// ValidatePlan 验证执行计划
416func (g *Generator) ValidatePlan(plan *ExecutionPlan) []error {

Callers 1

FormatPlanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected