)]}'
{
  "commit": "2a5c24026427cdac43816153d8cf0042eb63837a",
  "tree": "21b9b114e3b6261da261c8ca1aa4a683afbbfd34",
  "parents": [
    "83324ba7d335bf155d0e492ffb724e45bc83cb99"
  ],
  "author": {
    "name": "lucassloan",
    "email": "lucassloan@google.com",
    "time": "Fri Feb 08 10:28:37 2019 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-piper@google.com",
    "time": "Fri Feb 08 10:28:54 2019 -0800"
  },
  "message": "Improve handling of import paths versus file paths.\n\nThere isn\u0027t a one to one mapping of ts import paths to file paths.  A import path of \"google3/foo/bar\" could be from \"foo/bar.ts\" or \"foo/bar.d.ts\" or foo/bar/index.ts\" or several others.  The query-based analyzer has to issue a query looking for all the possible files for an import, then match the files found to the import path.\n\nThis cl improves the matching from found files back to import paths by consistently using a single function to generate all the possibilities, and matching against all of them, instead of trying to normalize a file path back into an import path.  Fixes a bug where the query based analyzer couldn\u0027t find an import that was both named index and an ngsummary.\n\nPiperOrigin-RevId: 233083622\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ab82fcea2a557730a20c22490e727c262eaa6a69",
      "old_mode": 33188,
      "old_path": "ts_auto_deps/analyze/loader.go",
      "new_id": "4b509caa64a0e9e697967a2aaff696ebaf98e974",
      "new_mode": 33188,
      "new_path": "ts_auto_deps/analyze/loader.go"
    }
  ]
}
