rclone/backend/memory
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
..
memory.go memory: fix dst mutating src after server-side copy 2024-03-26 20:40:06 -04:00
memory_test.go backend: allow wrapping backend tests to run in make quicktest 2022-06-29 17:30:37 +01:00