)]}'
{
  "commit": "a4dd7ef4eed2c2829b0224b98a7bd3c328bed88b",
  "tree": "1119a08780f3740c5788e830a3a7c1029adf4da4",
  "parents": [
    "817209af40b9948de23fc30881f8a8b580f50db2"
  ],
  "author": {
    "name": "Jared Hance",
    "email": "jhance@dropbox.com",
    "time": "Tue Nov 17 17:20:35 2026 +0000"
  },
  "committer": {
    "name": "Jared Hance",
    "email": "jhance@dropbox.com",
    "time": "Tue Nov 17 17:20:35 2026 +0000"
  },
  "message": "Take trusted files\u0027 modules from the cache instead of crawling\n\nBefore its first check, dmypy turns each source path into a module by\ncrawling up its directories for __init__ files. With the cache trusted for\nfiles not named in --changed-since-cache-file, that is the one look left\nat each source\u0027s directories, and over a network or FUSE filesystem the\nlargest part of a cold start.\n\nThe cache already says it: each module\u0027s metadata has its path and id,\nand a module\u0027s components are the directories above the file, so its\nbase directory follows without looking. A file\u0027s module is as when the\ncache was made unless the file, or an __init__ in a directory above it,\nchanged since, so for every other file the first check takes its module\nfrom the cache; create_source_list takes these as known_modules, and\ncrawls for the rest and for any path whose directories do not match its\nmodule.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5e5059f5babfa4d4b58b9db4c8997a54f0cc6c30",
      "old_mode": 33188,
      "old_path": "mypy/build.py",
      "new_id": "8e4a283aa1a3d6d332c432e48d032995fecae2ec",
      "new_mode": 33188,
      "new_path": "mypy/build.py"
    },
    {
      "type": "modify",
      "old_id": "aeac31dce19609c2da6a79305af1774248a1afd0",
      "old_mode": 33188,
      "old_path": "mypy/dmypy_server.py",
      "new_id": "5ad0530ba7073929fdd285d592d1510d6edaf792",
      "new_mode": 33188,
      "new_path": "mypy/dmypy_server.py"
    },
    {
      "type": "modify",
      "old_id": "e1edebe90985b091021580fc88d9a66ead9de40a",
      "old_mode": 33188,
      "old_path": "mypy/find_sources.py",
      "new_id": "c00930b9c0bb870ddb85cfd6c3ddf954f8c752b2",
      "new_mode": 33188,
      "new_path": "mypy/find_sources.py"
    },
    {
      "type": "modify",
      "old_id": "321f3405e99910935217ef8cd0389629cb0d01c8",
      "old_mode": 33188,
      "old_path": "mypy/test/test_find_sources.py",
      "new_id": "462a81cd20d635a885c4d7b6a9af61a9ca6f8d6c",
      "new_mode": 33188,
      "new_path": "mypy/test/test_find_sources.py"
    },
    {
      "type": "modify",
      "old_id": "871a81bab2993a5882e46e51a8edbe2e8a7404fa",
      "old_mode": 33188,
      "old_path": "test-data/unit/daemon.test",
      "new_id": "d924a2fb1593d3dce3738a44f56d89936fffd648",
      "new_mode": 33188,
      "new_path": "test-data/unit/daemon.test"
    }
  ]
}
