YandexDisk::Syncer
Mirrors local directories onto the Disk, driven by a Config.
This is a layer on top of Client, not part of the API surface — reach
for it when you want directory mirroring rather than individual calls.
Per source: scan locally, list the remote directory once, upload what is missing or changed (several files at a time), then apply retention. A failure on one file is recorded and the rest of the run continues, so a single unreadable file does not cost you the whole run.
Constants
LISTING_FIELDS = "_embedded.total,_embedded.offset,_embedded.limit,_embedded.items.name,_embedded.items.path,_embedded.items.type,_embedded.items.size,_embedded.items.md5,_embedded.items.modified"
Only ask the API for the keys the skip and retention decisions read.
Log = ::Log.for("yandex_disk.syncer")
Constructors
Instance methods
run
Source