)]}'
{
  "commit": "8002df18400f77554fe7ea9628eb2db74468b1d4",
  "tree": "a7d5ab7e3aac002c117c606e15da9dcd7584cec6",
  "parents": [
    "5a7f86c8036ba0c69f0a18be0a02051ccf3bbc7d"
  ],
  "author": {
    "name": "wyv",
    "email": "wyv@google.com",
    "time": "Mon May 09 05:39:03 2022 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon May 09 05:40:48 2022 -0700"
  },
  "message": "Cleanup in StarlarkRuleClassFunctions\n\n- Removed the TODO about labelCache being copied from ConfiguredRuleClassProvider. The latter no longer has such a cache, so the TODO is outdated anyways. Replaced with a more descriptive comment.\n- labelCache now uses the new Label#parseCanonical method.\n- Removed an unused constructor.\n- The `label` function now uses the new Label#parseWithRepoContext method and is no longer \"surprisingly complex\". Note that we don\u0027t actually need to cache these labels since calls to `Label(...)` are fairly rare.\n\nPiperOrigin-RevId: 447445194\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c691632389173750d2ac9daa81c414ba00691630",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/starlark/StarlarkRuleClassFunctions.java",
      "new_id": "115f500ad42a210b245a99aeffdc8e755c5e991e",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/starlark/StarlarkRuleClassFunctions.java"
    },
    {
      "type": "modify",
      "old_id": "1a7e72b30beeb3472fb9fe258cea2a1b8f15a254",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/cmdline/Label.java",
      "new_id": "210c61805618c450a965463b0427e63f21fdac5d",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/cmdline/Label.java"
    }
  ]
}
