Tags: Sakura-Byte/rclone
Tags
Add --list-order support (default/reverse/random) Add a global --list-order option and implement directory listing ordering modes. Introduces fs/listorder.go for parsing/validating modes and adds ListOrder/ListOrderRandomSeed/ListOrderHashSeed to ConfigInfo. Commands (copy, move, sync) now accept the --list-order flag, create a config context and set ci.ListOrder before running operations. Marcher now applies ordering keys (default, reverse by bitwise invert, and random via maphash+run-seed) when producing sort keys, with deterministic random ordering support and crypto-seeded fallback. Tests added/updated in fs/march and fs/sync to verify reverse and stable-random ordering. Also updated call sites to propagate ctx where needed.
PreviousNext