1
mirror of https://github.com/rclone/rclone synced 2024-12-27 19:43:48 +01:00
rclone/fstest
Nick Craig-Wood 10eb4742dd sync: fix creation of empty directories when --create-empty-src-dirs=false
In v1.66.0 the changes to enable metadata preservation on directories
introduced a regression, namely that empty directories were created
despite the state of the --create-empty-src-dirs flag.

This patch fixes the problem by letting the normal rclone directory
creation create the directories and fixing up their timestamps and
metadata afterwards if --create-empty-src-dirs=false.

Fixes #7689
See: https://forum.rclone.org/t/empty-dirs-not-wanted/45059/
See: https://forum.rclone.org/t/how-to-ignore-empty-directories-when-uploading-from-windows/45057/
2024-05-03 12:29:18 +01:00
..
fstests memory: fix incorrect list entries when rooted at subdirectory 2024-03-27 11:43:26 -04:00
mockdir build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
mockfs mockfs: make it so it can be registered as an Fs 2023-04-28 14:31:05 +01:00
mockobject mockobject: fix SetUnknownSize method to obey parameter passed in 2023-11-20 18:07:05 +00:00
test_all swift: implement --swift-use-segments-container to allow >5G files on Blomp 2024-04-25 11:14:14 +01:00
testserver build: make integration tests run better on macOS and Windows 2024-04-16 10:48:48 +01:00
testy testy: test utility functions 2020-06-15 21:34:37 +01:00
fstest.go sync: fix creation of empty directories when --create-empty-src-dirs=false 2024-05-03 12:29:18 +01:00
run.go sync: fix TestMoveEmptyDirectories so they work on backends which don't support DirModTimes 2024-03-01 10:56:48 +00:00