Sync a local directory to / from a B2 bucket prefix.
Direction is determined by the direction input (up = local → B2, down = B2 → local). With direction: auto (the default) we infer:
direction
up
down
direction: auto
source
The SDK's synchronize returns an AsyncGenerator<SyncEvent> which we relay to the workflow log (per-file) and aggregate into a typed result.
AsyncGenerator<SyncEvent>
Optional
Sync a local directory to / from a B2 bucket prefix.
Direction is determined by the
directioninput (up= local → B2,down= B2 → local). Withdirection: auto(the default) we infer:sourceis an existing local directory →updown(source is a B2 prefix, destination is local)The SDK's synchronize returns an
AsyncGenerator<SyncEvent>which we relay to the workflow log (per-file) and aggregate into a typed result.