MCPcopy Create free account
hub / github.com/browserbase/stagehand / getCurrentDirPath

Function getCurrentDirPath

packages/docs/scripts/runtimePaths.js:89–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87export const getCurrentFilePath = () => resolveCallerFilePath();
88
89export const getCurrentDirPath = () => path.dirname(getCurrentFilePath());
90
91export const getRepoRootDir = () => {
92 const currentFilePath = getCurrentFilePath();

Callers 7

index.eval.tsFile · 0.90
cli-legacy.tsFile · 0.90
cli.tsFile · 0.90
taskConfig.tsFile · 0.90
buildGAIATestcasesFunction · 0.90
sync-sdk-docs.jsFile · 0.90
gen-openapi.tsFile · 0.90

Calls 1

getCurrentFilePathFunction · 0.70

Tested by

no test coverage detected