Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Acode-Foundation/Acode
/ clearHistory
Method
clearHistory
src/lib/searchHistory.js:78–81 ·
view source on GitHub ↗
* Clear all history
()
Source
from the content-addressed store, hash-verified
76
* Clear all history
77
*/
78
clearHistory() {
79
this.history = [];
80
this.saveHistory();
81
}
82
83
/**
84
* Navigate up in search history (terminal-like)
Callers
nothing calls this directly
Calls
1
saveHistory
Method · 0.95
Tested by
no test coverage detected