changeDirectory abstract method

void changeDirectory(
  1. String path
)

Changes the current working directory to the specified path. Implementations must handle path resolution and update the internal state correctly.

Implementation

void changeDirectory(String path);