MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / rootPath

Function rootPath

packages/cli/src/paths.ts:4–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import { fileURLToPath } from "url";
3
4export function rootPath() {
5 const __filename = fileURLToPath(import.meta.url);
6 const __dirname = path.dirname(__filename);
7 return __dirname;
8}
9
10export function templatesPath() {
11 const root = rootPath();

Callers 1

templatesPathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…