Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QodeXcli/QodeX
/ clear
Method
clear
src/bot/session-map.ts:38–42 ·
view source on GitHub ↗
(key: string)
Source
from the content-addressed store, hash-verified
36
}
37
38
async
clear(key: string): Promise<void> {
39
await
this.load();
40
delete this.map[key];
41
await
fs.writeFile(this.file, JSON.stringify(this.map, null, 2)).catch(() => {});
42
}
43
}
Callers
7
handleSlashCommand
Function · 0.45
reset
Method · 0.45
failAllPending
Method · 0.45
stopAll
Method · 0.45
stopAllLive
Function · 0.45
cleanupSync
Function · 0.45
close
Function · 0.45
Calls
1
load
Method · 0.95
Tested by
no test coverage detected