X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Console%2FExecutor.hh;h=658cc99b9987f6979d57510f1c26615c7720707b;hb=70905bebad1f8c394fceb3a5d2a493eeecf3bd13;hp=be6f15f16f0d72f3d54c394a538d65d1b149d243;hpb=5e9e6057a4e5c1241ff3f1b75b0f797eb570725d;p=senf.git diff --git a/Console/Executor.hh b/Console/Executor.hh index be6f15f..658cc99 100644 --- a/Console/Executor.hh +++ b/Console/Executor.hh @@ -68,9 +68,12 @@ namespace console { protected: private: - bool chdir(ParseCommandInfo::argument_value_type const & path); + DirectoryNode & traverseTo(ParseCommandInfo::argument_value_type const & path); + + struct InvalidDirectoryException {}; DirectoryNode::weak_ptr cwd_; + DirectoryNode::weak_ptr oldCwd_; typedef std::vector DirStack; DirStack dirstack_; };