Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
createSession
Method · 0.95
getMessages
Method · 0.95
appendMessage
Method · 0.95
truncateSession
Method · 0.95
deleteSession
Method · 0.95
clearAll
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected