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

Method IsCompleted

pkg/executionplan/types.go:164–166  ·  view source on GitHub ↗

IsCompleted 检查计划是否已完成

()

Source from the content-addressed store, hash-verified

162
163// IsCompleted 检查计划是否已完成
164func (p *ExecutionPlan) IsCompleted() bool {
165 return p.Status == StatusCompleted || p.Status == StatusFailed || p.Status == StatusCancelled
166}
167
168// IsApproved 检查计划是否已审批
169func (p *ExecutionPlan) IsApproved() bool {

Callers 3

TestIsCompletedFunction · 0.95
CanExecuteMethod · 0.95
ExecuteMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestIsCompletedFunction · 0.76