ReadonlyappliesTrue when scan(filters) already enforces include/exclude filters itself as an optimization.
The synchronizer still reapplies filters after custom scanner output as the SDK policy
boundary. Custom folders that set this should use the exported filter helpers from
@backblaze-labs/b2-sdk/sync to stay aligned with the SDK glob and RegExp dialect.
ReadonlyappliesTrue when scan(filters) already yields entries in compareSyncRelativePaths order.
Custom folders that omit this are sorted by synchronize() before pairing.
ReadonlyrawRaw B2 key prefix this folder scans, preserving caller-provided separators verbatim.
ReadonlytypeWhether this folder is local or in B2.
Lists all file versions in the bucket, groups by name, and yields the latest visible version.
Optional scan controls.
Scans a B2 bucket (optionally filtered by a raw B2 key prefix) and yields B2SyncPath entries sorted by
compareSyncRelativePaths(relativePath). Hidden files are excluded. Raw B2 file names are used only as an internal tie-breaker after collision handling. All versions for the listed prefix are fetched, grouped, and sorted before yielding; exclude filters are applied client-side and do not reduce that B2 listing memory footprint. SDK-reserved temporary names fail the scan because syncing them could corrupt in-progress transfers.