aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-07-20 13:56:17 +0200
committerSven Gothel <[email protected]>2022-07-20 13:56:17 +0200
commit2a6e8d3130b993bc76a145337a5e4f1031882eeb (patch)
tree66fc09372312fb56e2a8c5c5f347dafb4e571e74 /include
parentc88abd8359be48b19425dffe154b0eb469401bb9 (diff)
copy_options::ignore_symlink_errors: Also ignore symlinks if not supported by target filesystem if not using follow_symlinks (e.g.: vfat target)
Diffstat (limited to 'include')
-rw-r--r--include/jau/file_util.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/jau/file_util.hpp b/include/jau/file_util.hpp
index 4b6f5d8..638327f 100644
--- a/include/jau/file_util.hpp
+++ b/include/jau/file_util.hpp
@@ -901,9 +901,12 @@ namespace jau {
follow_symlinks = 1 << 1,
/**
- * Ignore errors from erroneous symlinks, i.e. non-existing link-targets or recursive loop-errors.
+ * Ignore errors from erroneous symlinks, e.g. non-existing link-targets, recursive loop-errors.or unsupported symmlinks on target filesystem.
*
- * This flag is required to copy erroneous symlinks using follow_symlinks, otherwise not.
+ * This flag is required to
+ * - copy erroneous non-existing symlinks if using follow_symlinks
+ * - copy erroneous recursive loop-error symlinks if using follow_symlinks
+ * - ignore symlinks if not supported by target filesystem if not using follow_symlinks
*/
ignore_symlink_errors = 1 << 8,