Extracted from Pike v8.0 release 164 as of 2018-07-18.
   

Method Filesystem.Stat()->cd()


Method cd

object cd()

Description

Change to the stated directory.

Returns

the directory if the stated object was a directory, 0 otherwise.