We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa6146c commit e5f3a27Copy full SHA for e5f3a27
src/meta/mod.rs
@@ -56,8 +56,14 @@ impl Meta {
56
println!("cannot access '{}': {}", path.display(), err);
57
return Ok(meta);
58
}
59
+ let mut content = Vec::new();
60
+
61
+ let current_meta = Self::from_path(&PathBuf::from("."))?;
62
+ let parent_meta = Self::from_path(&PathBuf::from(".."))?;
63
64
+ content.push(current_meta);
65
+ content.push(parent_meta);
66
- let mut content = Vec::new();
67
for entry in meta.path.read_dir()? {
68
let path = entry?.path();
69
0 commit comments