Use is_valid?

This commit is contained in:
Alex Ling
2022-05-22 05:12:43 +00:00
parent 872e6dc6d6
commit e6dbeb623b
5 changed files with 21 additions and 8 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ class Dir
path = File.join dirname, fn
if File.directory? path
signatures << Dir.contents_signature path, cache
if DirEntry.validate_directory_entry path
if DirEntry.is_valid? path
signatures << fn
end
else