src/Storage/Disk.php
public function cd(array $path): void
    {
        array_unshift($path, $this->path);
        $this->path = new Path($path);
    }
public function cd(array $path): void
    {
        array_unshift($path, $this->path);
        $this->path = new Path($path);
    }
public function cd ( array $ path ) : void { array_unshift ( $ path , $ this -> path ) ; $ this -> path = new Path ( $ path ) ; }
changes current directory
@param string[]|FileSystem[]|Path[] $path
@return void
changes current directory