Page MenuHomePhabricator

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

Authored by epriestley on Apr 28 2020, 7:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 2, 1:23 AM
Unknown Object (File)
Sat, Dec 14, 10:26 AM
Unknown Object (File)
Fri, Dec 13, 9:25 PM
Unknown Object (File)
Fri, Dec 13, 1:28 AM
Unknown Object (File)
Oct 21 2024, 12:02 AM
Unknown Object (File)
Oct 18 2024, 8:27 AM
Unknown Object (File)
Oct 17 2024, 2:06 AM
Unknown Object (File)
Sep 6 2024, 7:25 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.