forked from TrueCloudLab/rclone
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
1 changed files with 7 additions and 5 deletions
|
@ -219,11 +219,13 @@ func CheckFn(ctx context.Context, opt *CheckOpt) error {
|
|||
|
||||
// set up a march over fdst and fsrc
|
||||
m := &march.March{
|
||||
Ctx: ctx,
|
||||
Fdst: c.opt.Fdst,
|
||||
Fsrc: c.opt.Fsrc,
|
||||
Dir: "",
|
||||
Callback: c,
|
||||
Ctx: ctx,
|
||||
Fdst: c.opt.Fdst,
|
||||
Fsrc: c.opt.Fsrc,
|
||||
Dir: "",
|
||||
Callback: c,
|
||||
NoTraverse: ci.NoTraverse,
|
||||
NoUnicodeNormalization: ci.NoUnicodeNormalization,
|
||||
}
|
||||
fs.Debugf(c.opt.Fdst, "Waiting for checks to finish")
|
||||
err := m.Run(ctx)
|
||||
|
|
Loading…
Add table
Reference in a new issue