1
mirror of https://github.com/rclone/rclone synced 2024-12-27 19:43:48 +01:00
rclone/fstest
nielash fecce67ac6 memory: fix dst mutating src after server-side copy
Before this change, the Memory backend's Copy method created a dst object that
referenced the src's objectData by pointer instead of making a copy. While this
minimized memory usage, an unintended consequence was that subsequently mutating
the src (such as changing the modtime) would inadvertently also mutate the dst,
and vice versa.

This change fixes the issue and adds a test.
2024-03-26 20:40:06 -04:00
..
fstests memory: fix dst mutating src after server-side copy 2024-03-26 20:40:06 -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 Add a new backend for uloz.to 2024-03-26 09:46:47 +00:00
testserver Version v1.66.0 2024-03-10 11:22:43 +00:00
testy testy: test utility functions 2020-06-15 21:34:37 +01:00
fstest.go sync: fix TestMoveEmptyDirectories so they work on backends which don't support DirModTimes 2024-03-01 10:56:48 +00:00
run.go sync: fix TestMoveEmptyDirectories so they work on backends which don't support DirModTimes 2024-03-01 10:56:48 +00:00