bazel-contrib / bazel-gazelle

Gazelle is a Bazel build file generator for Bazel projects. It natively supports Go and protobuf, and it may be extended to support new languages and custom rule sets.
Apache License 2.0
1.21k stars 382 forks source link

refactor: compute labelMap when indexing #1872

Closed jbedard closed 3 months ago

jbedard commented 3 months ago

What type of PR is this? Other

What package or component does this PR mostly affect? all

What does this PR do? Why is it needed?

Separate the real state vs indexing of that state, working toward the ability to load/save the state and re-indexing from that.