MCPcopy
hub / github.com/jestjs/jest / getAbsoluteFileIterator

Method getAbsoluteFileIterator

packages/jest-haste-map/src/HasteFS.ts:61–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 }
60
61 *getAbsoluteFileIterator(): Iterable<string> {
62 for (const file of this.getFileIterator()) {
63 yield fastPath.resolve(this._rootDir, file);
64 }
65 }
66
67 matchFiles(pattern: RegExp | string): Array<string> {
68 if (!(pattern instanceof RegExp)) {

Callers 3

getAllFilesMethod · 0.95
matchFilesMethod · 0.95
matchFilesWithGlobMethod · 0.95

Calls 2

getFileIteratorMethod · 0.95
resolveMethod · 0.45

Tested by

no test coverage detected