summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-04-17 17:10:59 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2025-04-22 13:50:57 +0200
commit3b744b7a5e365caa1b0efde7a530c95dccf10a8f (patch)
tree67d6f62e12d433a4fddfd1a2b68302fec59df662 /src/other_tools/root_maps
parent8b57548de9836fce3663b99d0140146f12668e8c (diff)
downloadjustbuild-3b744b7a5e365caa1b0efde7a530c95dccf10a8f.tar.gz
FileSystemManager: Always copy directories recursively
Diffstat (limited to 'src/other_tools/root_maps')
-rw-r--r--src/other_tools/root_maps/fpath_git_map.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/root_maps/fpath_git_map.cpp b/src/other_tools/root_maps/fpath_git_map.cpp
index 4f9e3685..38a63bf9 100644
--- a/src/other_tools/root_maps/fpath_git_map.cpp
+++ b/src/other_tools/root_maps/fpath_git_map.cpp
@@ -412,8 +412,8 @@ auto CreateFilePathGitMap(
return;
}
// copy folder content to tmp dir
- if (not FileSystemManager::CopyDirectoryImpl(
- key.fpath, tmp_dir->GetPath(), /*recursively=*/true)) {
+ if (not FileSystemManager::CopyDirectoryImpl(key.fpath,
+ tmp_dir->GetPath())) {
(*logger)(
fmt::format("Failed to copy content from directory {}",
key.fpath.string()),