mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibCore: Do not skip dotfiles when copying directories recursively
This commit is contained in:
committed by
Linus Groh
parent
a285e651f1
commit
01dc718f07
@@ -473,7 +473,7 @@ ErrorOr<void, File::CopyError> File::copy_directory(String const& dst_path, Stri
|
||||
if (!dst_rp.is_empty() && dst_rp.starts_with(src_rp))
|
||||
return CopyError { errno, false };
|
||||
|
||||
DirIterator di(src_path, DirIterator::SkipDots);
|
||||
DirIterator di(src_path, DirIterator::SkipParentAndBaseDir);
|
||||
if (di.has_error())
|
||||
return CopyError { errno, false };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user