Closed boneskull closed 1 month ago
[!WARNING] This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite. Learn more
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @boneskull and the rest of your teammates on Graphite
Description
This extracts a function,
loadCompartmentForArchive()
, fromdigestLocation()
inarchive.js
, and exposes it. This function returns archival-ready data structures, in addition to a record of the compartment renames whichmakeArchiveCompartmentMap()
performs.The intent is to leverage the module resolution performed by the function, which is reflected in its output. A consumer can use the information therein to perform additional operations on the tree (e.g., parse ASTs).
Upgrade Considerations
This is a backwards-compatible change