Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AI45Lab/Code
/ safe_session_id
Function
safe_session_id
core/src/store/file_store.rs:93–95 ·
view source on GitHub ↗
(id: &str)
Source
from the content-addressed store, hash-verified
91
}
92
93
fn safe_session_id(id: &str) -> String {
94
id.replace([
'/'
,
'\\'
],
"_"
).replace(
".."
,
"_"
)
95
}
96
97
#[async_trait::async_trait]
98
impl SessionStore for FileSessionStore {
Callers
1
artifact_dir
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected