Implement sys$chdir() and teach sh+ls to cd around and browse different dirs.

This commit is contained in:
Andreas Kling 2018-10-26 14:24:11 +02:00
commit 2749e7f1c2
Notes: sideshowbarker 2024-07-19 18:38:22 +09:00
16 changed files with 147 additions and 33 deletions

View file

@ -20,6 +20,10 @@ public:
String absolutePath() const;
bool isDirectory() const;
VirtualFileSystem::Node* vnode() { return m_vnode.ptr(); }
#ifdef SERENITY
int fd() const { return m_fd; }
void setFD(int fd) { m_fd = fd; }