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)
Fri, May 30, 10:34 PM
Unknown Object (File)
Thu, May 29, 11:20 AM
Unknown Object (File)
May 28 2025, 4:07 AM
Unknown Object (File)
May 27 2025, 6:26 PM
Unknown Object (File)
May 11 2025, 9:43 AM
Unknown Object (File)
May 7 2025, 2:02 PM
Unknown Object (File)
Apr 28 2025, 9:39 PM
Unknown Object (File)
Apr 28 2025, 10:58 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.