Page MenuHomePhabricator

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

Authored by epriestley on Apr 28 2020, 7:06 PM.
Tags
None
Referenced Files
F19083307: D21182.id50444.diff
Tue, Dec 2, 12:33 PM
F18985463: D21182.id50443.diff
Nov 17 2025, 1:03 PM
F18839600: D21182.diff
Oct 27 2025, 5:30 PM
F18734271: D21182.id.diff
Sep 30 2025, 10:51 PM
F18698873: D21182.id.diff
Sep 27 2025, 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
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.