MCPcopy Create free account
hub / github.com/webdriverio/webdriverio / resolveRelativePath

Function resolveRelativePath

scripts/docs-generation/tauriDocs.ts:49–52  ·  view source on GitHub ↗
(relativePath: string)

Source from the content-addressed store, hash-verified

47
48 const sourceFileDir = path.posix.dirname(remotePath)
49 const resolveRelativePath = (relativePath: string) => {
50 const resolved = path.posix.normalize(`${sourceFileDir}/${relativePath}`)
51 return `https://raw.githubusercontent.com/${GITHUB_REPO}/${DOCS_SHA}/${resolved}`
52 }
53
54 let inCodeBlock = false
55 const transformed = rewriteLinks(stripped)

Callers 1

generateTauriDocsFunction · 0.70

Calls 1

normalizeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…