MCPcopy Create free account
hub / github.com/TheJoWo/Clean-Clode / clearHistory

Function clearHistory

script.js:251–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249 }
250
251 function clearHistory() {
252 try {
253 localStorage.removeItem(HISTORY_KEY);
254 updateHistoryDisplay();
255 updateHistoryVisibility();
256 } catch (error) {
257 }
258 }
259
260 function formatDate(isoString) {
261 const date = new Date(isoString);

Callers 1

script.jsFile · 0.85

Calls 2

updateHistoryDisplayFunction · 0.85
updateHistoryVisibilityFunction · 0.85

Tested by

no test coverage detected