Page MenuHomePhabricator

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

Authored by epriestley on Apr 28 2020, 7:06 PM.
Tags
None
Referenced Files
F15290562: D21182.id50444.diff
Tue, Mar 4, 11:28 PM
Unknown Object (File)
Sat, Feb 22, 3:33 PM
Unknown Object (File)
Sun, Feb 9, 9:08 AM
Unknown Object (File)
Sun, Feb 9, 9:08 AM
Unknown Object (File)
Sun, Feb 9, 9:08 AM
Unknown Object (File)
Jan 29 2025, 12:24 AM
Unknown Object (File)
Jan 25 2025, 7:23 AM
Unknown Object (File)
Jan 25 2025, 7:23 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.