)]}'
{
  "commit": "d46d9844d1d678da72de2996be679ddf08dbfc7d",
  "tree": "f29822ac748ff9789fcca3198d7f883f9a03d8a0",
  "parents": [
    "e423688400b92961fcfa6e543f018e51cc437a8c"
  ],
  "author": {
    "name": "Filip Niksic",
    "email": "fniksic@google.com",
    "time": "Fri Jun 28 08:58:09 2024 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Jun 28 08:58:55 2024 -0700"
  },
  "message": "Fix the conversion from file paths to strings in the remote_file library.\n\nOn Windows, the underlying value_type of `std::filesystem::path` is `wchar_t`,\nso there is no conversion from a path to `std::string_view` via calls to\n`c_str()`, and there is no implicit conversion to `std::string`. Instead, we\nnow explicitly call `string()` to perform the conversion.\n\nThis creates a temporary string, so we can no longer simply store a string view\nto it in `LocalRemoteFile`. So I changed the member type to `std::string`.\n(Keeping a string view as a data member was dangerous anyway, since it created\nan undocumented assumption that the path object had to outlive the file handle.)\n\nPiperOrigin-RevId: 647698437\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "029ea185f889e31a1934ac5ccea1b8cf763e2d95",
      "old_mode": 33188,
      "old_path": "common/remote_file.cc",
      "new_id": "63d95fc22a262a14d3bb989a41ffbf92d23bbabf",
      "new_mode": 33188,
      "new_path": "common/remote_file.cc"
    },
    {
      "type": "modify",
      "old_id": "6717b780dfb162e4c6d913431f8e8c66ddceb25d",
      "old_mode": 33188,
      "old_path": "common/remote_file_oss.cc",
      "new_id": "40eaec088d2ac0cec1ed1c86262241f6df122ad8",
      "new_mode": 33188,
      "new_path": "common/remote_file_oss.cc"
    }
  ]
}
