packager: HasteMap: expose getAllFiles()

Reviewed By: tomocchino

Differential Revision: D4850695

fbshipit-source-id: 8aae4353de8779f7a1358b2766dad4a6c751b4af
This commit is contained in:
David Aurelio 2017-04-07 20:02:24 -07:00 committed by Facebook Github Bot
parent 4c2427126f
commit 80fe73885e
1 changed files with 4 additions and 0 deletions

View File

@ -55,6 +55,10 @@ class HasteMap extends EventEmitter {
return Promise.all(promises).then(() => this._map);
}
getAllFiles(): Array<string> {
return this._files;
}
processFileChange(type, absPath) {
return Promise.resolve().then(() => {
/*eslint no-labels: 0 */