)]}'
{
  "commit": "761a007cdf1d91dae32a555fcb32a67fe7ecd873",
  "tree": "3f00d90aee82259484b77cb0cbfad5a07cbde721",
  "parents": [
    "9136dd1d50c3b6855a89ec4967b41e265b13ff18"
  ],
  "author": {
    "name": "Peter Weinberger",
    "email": "pjw@google.com",
    "time": "Mon Oct 20 07:22:01 2025 -0400"
  },
  "committer": {
    "name": "Peter Weinberger",
    "email": "pjw@google.com",
    "time": "Mon Dec 22 07:49:14 2025 -0800"
  },
  "message": "gopls/mod: find references to required modules\n\nWith this CL, users will be able to click on a required module in a\ngo.mod file, and see the import statements that reference its\npackages.\n\nIn addition to integrating with LSP clients, this code avoids\nreporting imports of nested modules.\n\nTesting: there are marker tests, but self-contained. A lot\nof natural uses will be to find modules from the module cache.\nI tested by hand getting references from a go.mod file in\nthe tools repository. For instance, when searching for references to\ngolang/x/tools in gopls/go.mod, for marker_test.go it finds\nthe 8 imports of packages in golang.org/x/tools,\nbut none of the many golang.go/x/tools/gopls imports.\n\nFixes golang/go#75810\n\nChange-Id: I08022dd29173a6d4ea8c728c7eb8e54a462a5889\nReviewed-on: https://go-review.googlesource.com/c/tools/+/713160\nReviewed-by: Alan Donovan \u003cadonovan@google.com\u003e\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2fef55c906fece2f62e95ccdfc9e7059555bc0cb",
      "old_mode": 33188,
      "old_path": "gopls/doc/features/navigation.md",
      "new_id": "df4598dac0b21a794e148fdedf159f7b4cb5c2b7",
      "new_mode": 33188,
      "new_path": "gopls/doc/features/navigation.md"
    },
    {
      "type": "modify",
      "old_id": "5813c213253dc75009e90908a689f4ca4f0d7cfe",
      "old_mode": 33188,
      "old_path": "gopls/doc/release/v0.22.0.md",
      "new_id": "0344904dc2295bdf0effd979bc4b19f69940dca6",
      "new_mode": 33188,
      "new_path": "gopls/doc/release/v0.22.0.md"
    },
    {
      "type": "modify",
      "old_id": "35a796dc9e5236250612880a961ba082f1c89911",
      "old_mode": 33188,
      "old_path": "gopls/internal/cache/mod.go",
      "new_id": "940c5e0992f5fe44182cffe5dca5595ed6386686",
      "new_mode": 33188,
      "new_path": "gopls/internal/cache/mod.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "23478c41d4b4ac94d605c84388b3aece63c216a8",
      "new_mode": 33188,
      "new_path": "gopls/internal/mod/references.go"
    },
    {
      "type": "modify",
      "old_id": "2916f27c09328a99d922a6e153d76fbd5d7427e8",
      "old_mode": 33188,
      "old_path": "gopls/internal/server/references.go",
      "new_id": "03f323fed82bc78ee29d0a14c02a40dfb23c8f20",
      "new_mode": 33188,
      "new_path": "gopls/internal/server/references.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4c00d4419e94f78c566af9653cad118c15dcbd72",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/marker/testdata/references/issue75810.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "bad3a1c51064ab452ddfea719ded3e2a090d487b",
      "new_mode": 33188,
      "new_path": "gopls/internal/test/marker/testdata/references/issue75810A.txt"
    }
  ]
}
