MCPcopy Index your code
hub / github.com/ptmt/react-native-macos / findConfigPath

Function findConfigPath

local-cli/util/Config.js:143–146  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

141};
142
143function findConfigPath(cwd: string): ?string {
144 const parentDir = findParentDirectory(cwd, RN_CLI_CONFIG);
145 return parentDir ? path.join(parentDir, RN_CLI_CONFIG) : null;
146}
147
148// Finds the most near ancestor starting at `currentFullPath` that has
149// a file named `filename`

Callers 2

findFunction · 0.85
findOptionalFunction · 0.85

Calls 1

findParentDirectoryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…