From 263f40a2d3addaf12868901fbe3db376d656944d Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Fri, 7 Apr 2017 20:02:24 -0700 Subject: [PATCH] packager: HasteMap: expose getAllFiles() Reviewed By: tomocchino Differential Revision: D4850695 fbshipit-source-id: 8aae4353de8779f7a1358b2766dad4a6c751b4af --- packager/src/node-haste/DependencyGraph/HasteMap.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packager/src/node-haste/DependencyGraph/HasteMap.js b/packager/src/node-haste/DependencyGraph/HasteMap.js index 0c42f28963..c62aaeee6c 100644 --- a/packager/src/node-haste/DependencyGraph/HasteMap.js +++ b/packager/src/node-haste/DependencyGraph/HasteMap.js @@ -55,6 +55,10 @@ class HasteMap extends EventEmitter { return Promise.all(promises).then(() => this._map); } + getAllFiles(): Array { + return this._files; + } + processFileChange(type, absPath) { return Promise.resolve().then(() => { /*eslint no-labels: 0 */