-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Group Haste-related data under
haste
in cache structure
Summary: Tidying up after the earlier stack separates out `mocks` from `HasteMap` and encapsulates `map` and `duplicates` within `MutableHasteMap`. Moves `map` and `duplicates` under a new property `haste` within the cache structure. This allows `haste` to be made nullable as a whole, and reduces some fragility and redundancy in passing `duplicates` and `map` around together. Changelog: Internal Reviewed By: motiz88 Differential Revision: D47129270 fbshipit-source-id: 5673fead30dd8725b01f91568ce3f36c97fd449b
- Loading branch information
1 parent
a6e3dd0
commit c939178
Showing
3 changed files
with
43 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters