Page MenuHomePhabricator

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

Authored by epriestley on Apr 28 2020, 7:06 PM.
Tags
None
Referenced Files
F15442913: D21182.id50443.diff
Thu, Mar 27, 1:14 AM
F15440284: D21182.id50444.diff
Wed, Mar 26, 11:53 AM
F15434275: D21182.id.diff
Tue, Mar 25, 2:50 AM
F15432698: D21182.diff
Mon, Mar 24, 7:27 PM
F15430419: D21182.id50444.diff
Mon, Mar 24, 7:35 AM
F15290562: D21182.id50444.diff
Mar 4 2025, 11:28 PM
Unknown Object (File)
Feb 22 2025, 3:33 PM
Unknown Object (File)
Feb 9 2025, 9:08 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.