Page MenuHomePhabricator

Replace "PhutilFileTree" with a more abstract "VectorTree"
ClosedPublic

Authored by epriestley on Apr 28 2020, 7:06 PM.
Tags
None
Referenced Files
F18734271: D21182.id.diff
Tue, Sep 30, 10:51 PM
F18698873: D21182.id.diff
Sat, Sep 27, 11:59 AM
F18626116: D21182.id50443.diff
Sep 16 2025, 12:22 AM
F18620952: D21182.diff
Sep 15 2025, 6:43 AM
F18407812: D21182.id.diff
Aug 30 2025, 1:44 AM
F18400320: D21182.diff
Aug 29 2025, 5:53 PM
F18101050: D21182.diff
Aug 9 2025, 12:17 PM
F17807671: D21182.id.diff
Jul 25 2025, 3:10 PM
Subscribers
None

Details

Summary

Ref T13520. Replace "FileTree" with a "VectorTree" that does roughly the same thing. The major goals are:

  • Compress trees which contain sequences of child directories with no sibilings.
  • Build hierarchies of paths where path components may include renames.

This is approximately similar to "FileTree" and similar to client logic in the new paths panel.

Test Plan

See next change.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Apr 28 2020, 7:10 PM
This revision was automatically updated to reflect the committed changes.