Pure: compares the local files with what the archive (and optionally a mirror
such as _sync/) already holds. A file whose archive path exists is present;
one the mirror holds with the same name and MD5 is copy (server side, no bytes
leave the machine); anything else is upload.
Usage
plan_source_archive(local, archived = character(), mirror = NULL)Arguments
- local
tibble with
file(base name),md5(hex) andarchive(object path fromsource_archive_path())- archived
object paths already under the archive prefix
- mirror
optional tibble of mirror objects:
name(object path) andmd5(hex)