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)
Feb 13 2024, 2:03 AM
Unknown Object (File)
Feb 4 2024, 8:11 AM
Unknown Object (File)
Jan 6 2024, 8:39 PM
Unknown Object (File)
Dec 31 2023, 8:22 AM
Unknown Object (File)
Dec 27 2023, 1:23 PM
Unknown Object (File)
Dec 27 2023, 1:12 AM
Unknown Object (File)
Dec 26 2023, 5:09 AM
Unknown Object (File)
Dec 25 2023, 9:50 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.