)]}'
{
  "commit": "de4599257e58754dcd8f795ce61d9e01b1ea0ece",
  "tree": "d8b8c2826830e4e11d16c0d46410e7ad6c2bcf5b",
  "parents": [
    "609058364f2f1376cba0cf1efada11e33e85b6d1"
  ],
  "author": {
    "name": "Sigurd Meldgaard",
    "email": "sigurdm@google.com",
    "time": "Thu Sep 10 09:54:33 2026 +0000"
  },
  "committer": {
    "name": "Sigurd Meldgaard",
    "email": "sigurdm@google.com",
    "time": "Thu Sep 10 09:54:33 2026 +0000"
  },
  "message": "[yaml_edit] Simplify mutation operations and layout queries using package:yaml layout retention\n\nLeverage the layout retention data (dashSpan, colonSpan, trailingLayout) provided by package:yaml retainLayout: true:\n- In getListIndentation, retrieve list.dashSpan(0)?.start.column directly to determine block list indentation without scanning backwards for hyphens.\n- In getMapIndentation, use lastKey.span.start.column directly.\n- In map_mutations, replace ad-hoc character/flow delimiter scanning with map.colonSpan(key) for block and flow map replacement and null entry removal.\n- In list_mutations, use list.dashSpan(index) for block list insertions, removals, and adjacent item column lookups.\n- In editor, map_mutations, and list_mutations, consolidate block scalar trailing comment preservation into a unified helper using node.trailingLayout.\n- In editor, optimize _computeAliasSpan to jump directly to colonSpan or dashSpan.\n\nTAG\u003dagy\nCONV\u003deabffc54-0045-490f-beb6-67e4668362d1\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "253a0a18b0b37bb3a7ed5169cd1fb76aeee292d6",
      "old_mode": 33188,
      "old_path": "pkgs/yaml_edit/lib/src/editor.dart",
      "new_id": "2fe2d482da765eaa1580673bd86f3be564a72ebf",
      "new_mode": 33188,
      "new_path": "pkgs/yaml_edit/lib/src/editor.dart"
    },
    {
      "type": "modify",
      "old_id": "328a340ba0a5573d9d1e507735ebb17c9176f4ba",
      "old_mode": 33188,
      "old_path": "pkgs/yaml_edit/lib/src/list_mutations.dart",
      "new_id": "b20039887c267aacf75070ec20e52a4b7e414ebf",
      "new_mode": 33188,
      "new_path": "pkgs/yaml_edit/lib/src/list_mutations.dart"
    },
    {
      "type": "modify",
      "old_id": "dbaef1b9300344c34921e710c833fc863861d4df",
      "old_mode": 33188,
      "old_path": "pkgs/yaml_edit/lib/src/map_mutations.dart",
      "new_id": "94ee9008fbdab307f8d7c5399abd0a76a372ae86",
      "new_mode": 33188,
      "new_path": "pkgs/yaml_edit/lib/src/map_mutations.dart"
    },
    {
      "type": "modify",
      "old_id": "ef7a4a2f2fcea63190229e09843ec2abdb6ff1f8",
      "old_mode": 33188,
      "old_path": "pkgs/yaml_edit/lib/src/utils.dart",
      "new_id": "f71f3ee59896ee16771ff9942237798ea90f6525",
      "new_mode": 33188,
      "new_path": "pkgs/yaml_edit/lib/src/utils.dart"
    }
  ]
}
