)]}'
{
  "commit": "aa964a3ed6d97e4e9778feed85fa9ef1255a0477",
  "tree": "3dedb238b6db54d544916dd829efd7e649db9fb2",
  "parents": [
    "7d0943b042e3de485e5c893ad5ae1777a0b6bc78"
  ],
  "author": {
    "name": "PRANTA Dutta",
    "email": "44747303+theprantadutta@users.noreply.github.com",
    "time": "Mon Jun 15 13:34:12 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jun 15 13:34:12 2026"
  },
  "message": "[path_provider] Document null vs UnsupportedError return semantics (#11793)\n\nUpdates the dartdoc for `getDownloadsDirectory` in `path_provider` and the matching `getDownloadsPath` contract on `PathProviderPlatform` to explain both return-value cases:\n\n- `null` — the platform supports the concept of a downloads directory but no such directory is currently available (concrete example: Linux without `xdg-user-dir` installed, or where `xdg-user-dir` fails when called).\n- `UnsupportedError` — the current platform has no concept of a downloads directory at all.\n\nPreviously the dartdoc only mentioned the `UnsupportedError` case, which left users unsure when they might see a `null` result.\n\nThe wording matches the explanations already given by maintainers in the linked issue thread.\n\nFixes flutter/flutter#143238\n\n## Pre-Review Checklist\n\nThis is a documentation-only change to public dartdoc comments. No code behavior changes; no new tests are required per the auto-exempt rules for changes that only affect comments/documentation.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "47f9da7e2debb5eefe5103ae0ba35e1ebe8ad1c6",
      "old_mode": 33188,
      "old_path": "packages/path_provider/path_provider/CHANGELOG.md",
      "new_id": "e1fc0658d030f73a2521a7e7cbcd37eaa81dfad6",
      "new_mode": 33188,
      "new_path": "packages/path_provider/path_provider/CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "2883d042fa00dba9f6bf4fb8a89b0dbd8d6daf9c",
      "old_mode": 33188,
      "old_path": "packages/path_provider/path_provider/lib/path_provider.dart",
      "new_id": "92051eb1b6640b9d5f9c7b504cd284f061390ddb",
      "new_mode": 33188,
      "new_path": "packages/path_provider/path_provider/lib/path_provider.dart"
    },
    {
      "type": "modify",
      "old_id": "bb3acf4907cbd35d3ab1d2700170b9990aa01680",
      "old_mode": 33188,
      "old_path": "packages/path_provider/path_provider/pubspec.yaml",
      "new_id": "92b660ef2cae962c794fe7c5d514bd0edc43e6de",
      "new_mode": 33188,
      "new_path": "packages/path_provider/path_provider/pubspec.yaml"
    },
    {
      "type": "modify",
      "old_id": "f7c254e96335a09f775367a74538018406cd49db",
      "old_mode": 33188,
      "old_path": "packages/path_provider/path_provider_platform_interface/CHANGELOG.md",
      "new_id": "08cc4c826617df288c14aed645a2d12aa98c8e1a",
      "new_mode": 33188,
      "new_path": "packages/path_provider/path_provider_platform_interface/CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "ba2bba443adbab0b66736b4526666a3038bfab84",
      "old_mode": 33188,
      "old_path": "packages/path_provider/path_provider_platform_interface/lib/path_provider_platform_interface.dart",
      "new_id": "f85caf5a2b207b19233d0238b883f8bc1d97fb17",
      "new_mode": 33188,
      "new_path": "packages/path_provider/path_provider_platform_interface/lib/path_provider_platform_interface.dart"
    },
    {
      "type": "modify",
      "old_id": "37dd1c72b895f16a73ccea7c6ac4329975d1ab24",
      "old_mode": 33188,
      "old_path": "packages/path_provider/path_provider_platform_interface/pubspec.yaml",
      "new_id": "d65d8fe1e898e1bb0181b97ddb48dc432d54b599",
      "new_mode": 33188,
      "new_path": "packages/path_provider/path_provider_platform_interface/pubspec.yaml"
    }
  ]
}
