| 235 | return it->second.is_node() ? 2 : 1; |
| 236 | } |
| 237 | Node* Node::chdir(string_view path) |
| 238 | { |
| 239 | if (path.empty()) |
| 240 | ERROR_RETURN(EINVAL, nullptr); |
| 241 | |
| 242 | return seek2node(path); |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | Walker::Walker(IFileSystem* fs, string_view path) |