MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getHistory

Method getHistory

src/lib/searchHistory.js:71–73  ·  view source on GitHub ↗

* Get history * @returns {Array } History items

()

Source from the content-addressed store, hash-verified

69 * @returns {Array<string>} History items
70 */
71 getHistory() {
72 return [...this.history];
73 }
74
75 /**
76 * Clear all history

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected