MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / findFuchsiaRoot

Function findFuchsiaRoot

src/extension/sdk/utils.ts:739–741  ·  view source on GitHub ↗
(logger: Logger, folder: string)

Source from the content-addressed store, hash-verified

737}
738
739async function findFuchsiaRoot(logger: Logger, folder: string): Promise<string | undefined> {
740 return findRootContaining(folder, ".jiri_root", "DIRECTORY");
741}
742
743async function findBazelWorkspaceRoot(logger: Logger, folder: string): Promise<string | undefined> {
744 return findRootContaining(folder, "WORKSPACE", "FILE");

Callers

nothing calls this directly

Calls 1

findRootContainingFunction · 0.85

Tested by

no test coverage detected