shell: improve interactive mode

This commit is contained in:
2025-11-19 08:57:47 +02:00
parent 9855142c25
commit e1b905c65a
23 changed files with 920 additions and 353 deletions
+1 -4
View File
@@ -150,10 +150,7 @@ pub trait DirectoryImpl: CommonImpl {
}
fn contains(&self, node: &NodeRef, name: &Filename) -> bool {
match self.lookup(node, name) {
Ok(_) => true,
Err(_) => false,
}
self.lookup(node, name).is_ok()
}
/// Returns the "length" of the directory in entries