X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Console%2FExecutor.hh;h=658cc99b9987f6979d57510f1c26615c7720707b;hb=70905bebad1f8c394fceb3a5d2a493eeecf3bd13;hp=bc3ce99f20609905114dbdcb11bc127c920a24b7;hpb=31fb20bd535cd2d65595a7d37bd100ff16f13df8;p=senf.git diff --git a/Console/Executor.hh b/Console/Executor.hh index bc3ce99..658cc99 100644 --- a/Console/Executor.hh +++ b/Console/Executor.hh @@ -68,7 +68,9 @@ 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_;