MCPcopy Index your code
hub / github.com/darkreader/darkreader / rootPath

Function rootPath

tests/support/test-utils.ts:5–7  ·  view source on GitHub ↗
(...paths: string[])

Source from the content-addressed store, hash-verified

3export const rootDir: string = dirname(require.resolve('../../package.json'));
4
5export function rootPath(...paths: string[]): string {
6 return join(rootDir, ...paths);
7}
8
9export function multiline(...lines: string[]): string {
10 if (lines.length < 1) {

Callers 2

testLocalesDirFunction · 0.90
readConfigFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected