1
mirror of https://github.com/rclone/rclone synced 2024-11-28 06:41:41 +01:00
rclone/backend/memory
nielash f62e7b5b30 memory: fix incorrect list entries when rooted at subdirectory
Before this change, List would return incorrect directory paths (relative to the
wrong root) if the Fs root pointed to a subdirectory. For example, listing dir
"a/b/c/d" of remote :memory: would work correctly, but listing dir "c/d" of
remote :memory:a/b would not, and would result in "Entry doesn't belong in
directory %q (contains subdir)" errors.

This change fixes the issue and adds a test to detect any other backends that
might have the same issue.
2024-03-27 11:43:26 -04:00
..
memory_internal_test.go memory: fix deadlock in operations.Purge 2024-03-27 11:42:49 -04:00
memory_test.go backend: allow wrapping backend tests to run in make quicktest 2022-06-29 17:30:37 +01:00
memory.go memory: fix incorrect list entries when rooted at subdirectory 2024-03-27 11:43:26 -04:00