MCPcopy
hub / github.com/docsifyjs/docsify / contentFetched

Method contentFetched

src/core/fetch/index.js:105–111  ·  view source on GitHub ↗
(text, opt)

Source from the content-addressed store, hash-verified

103
104 // create a handler that should be called if content was fetched successfully
105 const contentFetched = (text, opt) => {
106 this._renderMain(
107 text,
108 opt,
109 this._loadSideAndNav(path, qs, loadSidebar, cb)
110 );
111 };
112
113 // and a handler that is called if content failed to fetch
114 const contentFailedToFetch = _ => {

Callers

nothing calls this directly

Calls 2

_loadSideAndNavMethod · 0.95
_renderMainMethod · 0.80

Tested by

no test coverage detected