mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 22:38:59 +08:00
packager: HasteMap: expose getAllFiles()
Reviewed By: tomocchino Differential Revision: D4850695 fbshipit-source-id: 8aae4353de8779f7a1358b2766dad4a6c751b4af
This commit is contained in:
committed by
Facebook Github Bot
parent
a1e06dfb39
commit
263f40a2d3
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user