MCPcopy Create free account
hub / github.com/frank-lam/fullstack-tutorial / saveData

Function saveData

notes/docsify/unpkg/docsify/lib/plugins/search.js:37–40  ·  view source on GitHub ↗
(maxAge)

Source from the content-addressed store, hash-verified

35}
36
37function saveData(maxAge) {
38 localStorage.setItem('docsify.search.expires', Date.now() + maxAge);
39 localStorage.setItem('docsify.search.index', JSON.stringify(INDEXS));
40}
41
42function genIndex(path, content, router, depth) {
43 if ( content === void 0 ) content = '';

Callers 1

init$1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected