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

Method getFilePath

pkg/memory/project/file_store.go:26–28  ·  view source on GitHub ↗

getFilePath 获取文件路径

(projectID string)

Source from the content-addressed store, hash-verified

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

Callers 4

LoadMethod · 0.95
SaveMethod · 0.95
DeleteMethod · 0.95
ExistsMethod · 0.95

Calls 1

JoinMethod · 0.45

Tested by

no test coverage detected