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

Function getPath

src/core/router/util.js:109–111  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

107}
108
109export function getPath(...args) {
110 return cleanPath(args.map(normaliseFragment).join('/'));
111}
112
113export const replaceSlug = cached(path => {
114 return path.replace('#', '?id=');

Callers 6

compileEmbedMethod · 0.90
_renderCoverMethod · 0.90
initRenderMethod · 0.90
imageCompilerFunction · 0.90
parseMethod · 0.90
getFileMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…