Add option to skip duplicates when extracting from multiple bundles #167

Open
opened 2023-12-06 14:11:15 +01:00 by lucas · 0 comments
Owner

The hacky, but simple solution would be to first check if a file already exists where the extraction would end up writing to.
This doesn't require any shared state within the process. But chances are that the file system access isn't much faster than just doing the extraction unconditionally.

The ideal solution would be mutable shared state, with a hash set based on the file name.

The hacky, but simple solution would be to first check if a file already exists where the extraction would end up writing to. This doesn't require any shared state within the process. But chances are that the file system access isn't much faster than just doing the extraction unconditionally. The ideal solution would be mutable shared state, with a hash set based on the file name.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bitsquid_dt/dtmt#167
No description provided.