getFilePath 获取文件路径
(projectID string)
| 24 | |
| 25 | // getFilePath 获取文件路径 |
| 26 | func (s *FileStore) getFilePath(projectID string) string { |
| 27 | return filepath.Join(s.config.BasePath, projectID, s.config.FileName) |
| 28 | } |
| 29 | |
| 30 | // Load 加载项目记忆 |
| 31 | func (s *FileStore) Load(ctx context.Context, projectID string) (*ProjectMemory, error) { |