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

Function request

src/core/fetch/index.js:32–36  ·  view source on GitHub ↗
(url, hasbar, requestHeaders)

Source from the content-addressed store, hash-verified

30
31 const abort = () => last && last.abort && last.abort();
32 const request = (url, hasbar, requestHeaders) => {
33 abort();
34 last = get(url, true, requestHeaders);
35 return last;
36 };
37
38 const get404Path = (path, config) => {
39 const { notFoundPage, ext } = config;

Callers 3

_fetchMethod · 0.85
_fetchFallbackPageMethod · 0.85
_fetch404Method · 0.85

Calls 2

getFunction · 0.90
abortFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…