mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01:00
check: implement --no-traverse and --no-unicode-normalization
See: https://forum.rclone.org/t/rclone-check-head-or-list-object-from-source/30400
This commit is contained in:
parent
4d72abf389
commit
4f94b27800
@ -219,11 +219,13 @@ func CheckFn(ctx context.Context, opt *CheckOpt) error {
|
|||||||
|
|
||||||
// set up a march over fdst and fsrc
|
// set up a march over fdst and fsrc
|
||||||
m := &march.March{
|
m := &march.March{
|
||||||
Ctx: ctx,
|
Ctx: ctx,
|
||||||
Fdst: c.opt.Fdst,
|
Fdst: c.opt.Fdst,
|
||||||
Fsrc: c.opt.Fsrc,
|
Fsrc: c.opt.Fsrc,
|
||||||
Dir: "",
|
Dir: "",
|
||||||
Callback: c,
|
Callback: c,
|
||||||
|
NoTraverse: ci.NoTraverse,
|
||||||
|
NoUnicodeNormalization: ci.NoUnicodeNormalization,
|
||||||
}
|
}
|
||||||
fs.Debugf(c.opt.Fdst, "Waiting for checks to finish")
|
fs.Debugf(c.opt.Fdst, "Waiting for checks to finish")
|
||||||
err := m.Run(ctx)
|
err := m.Run(ctx)
|
||||||
|
Loading…
Reference in New Issue
Block a user