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

Method Delete

pkg/tools/builtin/plan_file.go:151–156  ·  view source on GitHub ↗

Delete 删除计划文件

(path string)

Source from the content-addressed store, hash-verified

149
150// Delete 删除计划文件
151func (m *PlanFileManager) Delete(path string) error {
152 m.mu.Lock()
153 defer m.mu.Unlock()
154
155 return os.Remove(path)
156}
157
158// GetBasePath 获取基础路径
159func (m *PlanFileManager) GetBasePath() string {

Callers

nothing calls this directly

Calls 1

RemoveMethod · 0.45

Tested by

no test coverage detected