Changeset View
Changeset View
Standalone View
Standalone View
src/filesystem/PhutilFileTree.php
| <?php | <?php | ||||
| /** | /** | ||||
| * Data structure for representing filesystem directory trees. | * Data structure for representing filesystem directory trees. | ||||
| */ | */ | ||||
| final class PhutilFileTree { | final class PhutilFileTree extends Phobject { | ||||
| private $name; | private $name; | ||||
| private $fullPath; | private $fullPath; | ||||
| private $data; | private $data; | ||||
| private $depth = 0; | private $depth = 0; | ||||
| private $parentNode; | private $parentNode; | ||||
| private $children = array(); | private $children = array(); | ||||
| ▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines | |||||