Delete 删除计划文件
(path string)
| 149 | |
| 150 | // Delete 删除计划文件 |
| 151 | func (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 获取基础路径 |
| 159 | func (m *PlanFileManager) GetBasePath() string { |