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 коммит произвёл Facebook Github Bot
Родитель a1e06dfb39
Коммит 263f40a2d3
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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 */