Replaces the zip option. Copy now offers two real destinations, both filing under <party>/<received|issued>/<transmittal>/<name>: - Server archive — PUTs each file into a zddc-server over HTTP via the zddc-source HttpDirectoryHandle (mkdir as needed). Offered only over http(s); prompts for the archive URL (guessed from the current path's archive/ segment). - Local folder — the File System Access picker (choose archive/ to file directly). Both reuse the one copy engine and are efficiently resumable: copyOne probes the target with a cheap stat/HEAD and SKIPS anything already present — no source read, no hashing — so a re-run after an interruption only does what's left. Canonical ZDDC names + the WORM archive mean an existing name is the same document, so we never overwrite (the old content-diff path is dropped). Tests: re-run skips an existing local target; PUT into a server-style handle then resume-skips it (52 green). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app.js | ||
| classify.js | ||
| copy.js | ||
| dnd.js | ||
| excel.js | ||
| filter.js | ||
| persist.js | ||
| preview.js | ||
| resize.js | ||
| scanner.js | ||
| selection.js | ||
| sort.js | ||
| spreadsheet.js | ||
| store.js | ||
| target-tree.js | ||
| tree.js | ||
| utils.js | ||
| validator.js | ||
| workspace.js | ||