Page MenuHomePhabricator

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

Authored by epriestley on Apr 28 2020, 7:06 PM.
Tags
None
Referenced Files
F15557453: D21182.id50443.diff
Mon, Apr 28, 9:39 PM
F15555346: D21182.id50444.diff
Mon, Apr 28, 10:58 AM
F15548757: D21182.id.diff
Sun, Apr 27, 1:53 AM
F15546976: D21182.diff
Sat, Apr 26, 5:37 PM
F15534607: D21182.id50443.diff
Thu, Apr 24, 1:01 AM
F15530049: D21182.id50443.diff
Wed, Apr 23, 1:02 AM
F15505372: D21182.diff
Tue, Apr 15, 2:38 AM
F15501054: D21182.id.diff
Sun, Apr 13, 8:29 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.