the reason the library exists: checksummed import off the card #5

Open
opened 2026-08-30 13:14:54 +02:00 by clawbot · 0 comments

README § why: "I wanted to copy images off my memory cards for processing." The library has Hash() but no import. Provide a copy-off-card operation: copy object groups to a destination, verify by SHA256 after write, optionally skip files already present at the destination (by hash), never delete from the card. Exact call shape follows sneak's API pick.

Done: importing a fixture store to a temp dir round-trips every byte (hash-verified), duplicate re-import is a no-op when skip-existing is on, and a corrupted destination write is detected and reported, not silently kept.

README § why: "I wanted to copy images off my memory cards for processing." The library has `Hash()` but no import. Provide a copy-off-card operation: copy object groups to a destination, verify by SHA256 after write, optionally skip files already present at the destination (by hash), never delete from the card. Exact call shape follows sneak's API pick. Done: importing a fixture store to a temp dir round-trips every byte (hash-verified), duplicate re-import is a no-op when skip-existing is on, and a corrupted destination write is detected and reported, not silently kept.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/dcf#5