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

Function getProjectPath

src/cli/utils/paths.ts:5–5  ·  view source on GitHub ↗
(...parts: string[])

Source from the content-addressed store, hash-verified

3export const getProjectRoot = (): string => process.cwd()
4
5export const getProjectPath = (...parts: string[]): string => join(getProjectRoot(), ...parts)
6
7export const getConfigBaseDir = (): string => process.env.NOSTR_CONFIG_DIR ?? getProjectPath('.nostr')
8

Callers 10

ensureTorDataDirFunction · 0.90
ensureI2PDataDirFunction · 0.90
getTorHostnamePathFunction · 0.90
resolveComposeFileFunction · 0.90
runInfoFunction · 0.90
ensureNginxBootstrapFunction · 0.90
ensureEnvFileFunction · 0.90
getConfigBaseDirFunction · 0.85
getEnvFilePathFunction · 0.85

Calls 1

getProjectRootFunction · 0.85

Tested by

no test coverage detected