)]}'
{
  "commit": "6e58e47c7bd6672665dc35cce7b1f325d2addd67",
  "tree": "0829030bc3e1ff1d47740fdd66de8380cec79360",
  "parents": [
    "5b692803cf76a65fc5d39178c0a36678e69c0e5a"
  ],
  "author": {
    "name": "Dmitri Shuralyov",
    "email": "dmitshur@golang.org",
    "time": "Thu Jun 01 19:38:02 2023 -0400"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Wed Oct 25 22:55:36 2023 +0000"
  },
  "message": "modfile: improve directory path detection and error text consistency\n\nAn error text suggests a directory path needs to start with ./ or ../\nif it\u0027s a relative path, but in reality relative paths with .\\ and ..\\\nprefix (such as those that are used on Windows) are also accepted.\n\nFurthermore, a relative path like ./ or ../ is fine, as are ./. and\n../., but the cleaner and shorter equivalent relative paths . and ..\nare reported as if they\u0027re not directory paths (even though a module\npath cannot consist of nothing but dots).\n\nFix those inconsistencies and make IsDirectoryPath report true on \".\"\nand \"..\" paths as expected, and make its documentation clear that\na path like \"sub/dir\", despite being a relative path, is interpreted\nas a module path.\n\nFor golang/go#60572.\n\nChange-Id: I8fa4a2c66bc83a1ccafc453b96f3bb33dc222cd1\nReviewed-on: https://go-review.googlesource.com/c/mod/+/500335\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@google.com\u003e\nReviewed-by: Bryan Mills \u003cbcmills@google.com\u003e\nAuto-Submit: Dmitri Shuralyov \u003cdmitshur@golang.org\u003e\nRun-TryBot: Dmitri Shuralyov \u003cdmitshur@golang.org\u003e\nTryBot-Result: Gopher Robot \u003cgobot@golang.org\u003e\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e0869fa3868b4e10eec517a26162c263f52093d6",
      "old_mode": 33188,
      "old_path": "modfile/rule.go",
      "new_id": "35fd1f534cf85f6921758f4cb5ad13cda8019b88",
      "new_mode": 33188,
      "new_path": "modfile/rule.go"
    }
  ]
}
