Delete 删除项目记忆
(ctx context.Context, projectID string)
| 66 | |
| 67 | // Delete 删除项目记忆 |
| 68 | func (s *FileStore) Delete(ctx context.Context, projectID string) error { |
| 69 | filePath := s.getFilePath(projectID) |
| 70 | return os.Remove(filePath) |
| 71 | } |
| 72 | |
| 73 | // Exists 检查项目记忆是否存在 |
| 74 | func (s *FileStore) Exists(ctx context.Context, projectID string) (bool, error) { |
nothing calls this directly
no test coverage detected