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

Method containsFile

src/extension/sdk/utils.ts:647–650  ·  view source on GitHub ↗
(folder: string, filePath: string)

Source from the content-addressed store, hash-verified

645 }
646
647 private containsFile(folder: string, filePath: string): boolean {
648 const fullPath = path.join(folder, filePath);
649 return existsAndIsFileSync(fullPath);
650 }
651
652 public searchPaths(paths: string[], executableFilename: string, postFilter?: (s: string) => boolean): SdkSearchResults {
653 this.logger.info(`Searching for ${executableFilename}`);

Callers 2

findDartSdkMethod · 0.95
findFlutterSdkMethod · 0.95

Calls 1

existsAndIsFileSyncFunction · 0.90

Tested by

no test coverage detected