Add option to choose where to place temp files when compressing and creating archive #15

Closed
opened 2024-07-24 09:59:13 +00:00 by stephenseo · 1 comment
Owner

It currently isn't clear that when creating an archive with processed files, a temporary file is created in the current working directory before it is stored into the archive. This cannot be directly streamed into the archive file because the total file size is needed in advance. If it was directly streamed into the file, the program wouldn't know what size the resulting processed file is. The compromise is to store it on the filesystem temporarily and not in memory.

It should be made clear that creating an archive with a compressor-cmd uses temp files, and it should be possible to specify a place to store temp files instead of the current working directory.

It currently isn't clear that when creating an archive with processed files, a temporary file is created in the current working directory before it is stored into the archive. This cannot be directly streamed into the archive file because the total file size is needed in advance. If it was directly streamed into the file, the program wouldn't know what size the resulting processed file is. The compromise is to store it on the filesystem temporarily and not in memory. It should be made clear that creating an archive with a compressor-cmd uses temp files, and it should be possible to specify a place to store temp files instead of the current working directory.
stephenseo added this to the Development Planning project 2024-07-24 09:59:13 +00:00
Author
Owner

Done in 0b63dd12ee .

Done in 0b63dd12ee2d55585b403decd91adf8e4bb0cfd9 .
Sign in to join this conversation.
No milestone
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: stephenseo/SimpleArchiver#15
No description provided.