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:
Nick Craig-Wood 2022-04-26 09:22:30 +01:00
parent 4d72abf389
commit 4f94b27800

View File

@ -224,6 +224,8 @@ func CheckFn(ctx context.Context, opt *CheckOpt) error {
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)