MCPcopy Create free account
hub / github.com/allocnode/oh-my-sage / getSessionPath

Method getSessionPath

src/server/session/store.ts:82–84  ·  view source on GitHub ↗

* 获取 session 文件路径

(sessionId: string)

Source from the content-addressed store, hash-verified

80 * 获取 Session 文件路径
81 */
82 private getSessionPath(sessionId: string): string {
83 return path.join(this.baseDir, `${sessionId}.jsonl`);
84 }
85
86 /**
87 * 读取索引

Callers 6

createSessionMethod · 0.95
getMessagesMethod · 0.95
appendMessageMethod · 0.95
truncateSessionMethod · 0.95
deleteSessionMethod · 0.95
clearAllMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected