Skip to content

omar-hanafy/directory-tree

v2.0.0MIT

Package-specific skills for the directory_tree Dart package: the exact 2.0.0 API (paths and policies, roots, ordering, issues, flattened rows with incremental expansion, search queries, selection and checkboxes, diffs, rendering, the file system scanner) and the 1.x to 2.0.0 migration.

migrate-directory-tree-v1-to-v2

Use when upgrading a project from directory_tree 1.x to 2.0.0, or fixing analyzer errors after that bump - TreeBuilder/TreeData/FlattenStrategy/VisibleNode/ExpansionSet/SelectionSet/diffVisibleNodes/compileFilter/folderSelection no longer existing, the dart fix renames (removeIndicesDesc, insertIndicesAsc, TreeEntry.fullPath), string node ids becoming NodeId canonical paths, the removed synthetic root and tree_root nodes, case-sensitive paths by default, immutable expansion and selection state, flatten expanding everything by default, natural sibling order, the new search syntax, or tests whose output changed after the upgrade.

Read SKILL.md at the source

Pinned to revision d6136652db17, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.