mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 23:22:08 +01:00
fecce67ac6
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. |
||
---|---|---|
.. | ||
fstests | ||
mockdir | ||
mockfs | ||
mockobject | ||
test_all | ||
testserver | ||
testy | ||
fstest.go | ||
run.go |