Started work on database
This commit is contained in:
parent
db031bc8a8
commit
c14cd954a2
7 changed files with 687 additions and 6 deletions
|
|
@ -42,7 +42,6 @@ fn add_dir_tree_node(path: &Path, filter: &Vec<String>) -> HtmlTag {
|
|||
);
|
||||
if let Ok(entries) = fs::read_dir(path) {
|
||||
for dir_entry_res in entries {
|
||||
println!("{:?}", dir_entry_res);
|
||||
if let Ok(dir_entry) = dir_entry_res {
|
||||
if let Ok(metadata) = fs::metadata(dir_entry.path()) {
|
||||
if metadata.is_file() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue