MCPcopy Index your code
hub / github.com/cameri/nostream / getProjectRoot

Function getProjectRoot

src/cli/utils/paths.ts:3–3  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { join } from 'path'
2
3export const getProjectRoot = (): string => process.cwd()
4
5export const getProjectPath = (...parts: string[]): string => join(getProjectRoot(), ...parts)
6

Callers 1

getProjectPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected