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

Method _getPath

packages/docsify-server-renderer/index.js:81–85  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

79 }
80
81 _getPath(url) {
82 const file = this.router.getFile(url);
83
84 return isAbsolutePath(file) ? file : cwd(`./${file}`);
85 }
86
87 async renderToString(url) {
88 this.url = url = this.router.parse(url).path;

Callers 2

renderToStringMethod · 0.95
_renderMethod · 0.95

Calls 2

cwdFunction · 0.85
getFileMethod · 0.80

Tested by

no test coverage detected