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

Method FormatCurrentPlan

pkg/agent/execution_plan.go:253–258  ·  view source on GitHub ↗

FormatCurrentPlan 格式化当前计划为可读文本

()

Source from the content-addressed store, hash-verified

251
252// FormatCurrentPlan 格式化当前计划为可读文本
253func (m *ExecutionPlanManager) FormatCurrentPlan() string {
254 if m.currentPlan == nil {
255 return "No active execution plan"
256 }
257 return executionplan.FormatPlan(m.currentPlan)
258}
259
260// ValidateCurrentPlan 验证当前计划
261func (m *ExecutionPlanManager) ValidateCurrentPlan() []error {

Callers

nothing calls this directly

Calls 1

FormatPlanFunction · 0.92

Tested by

no test coverage detected