Skip to content

Optionally let ObjectFileWriter append to existing file instead of overwriting. - #475

Merged
blackwinter merged 2 commits into
masterfrom
appendIfFileExistsInObjectFileWriter
Nov 18, 2022
Merged

Optionally let ObjectFileWriter append to existing file instead of overwriting.#475
blackwinter merged 2 commits into
masterfrom
appendIfFileExistsInObjectFileWriter

Conversation

@blackwinter

Copy link
Copy Markdown
Member

Metafix may write to the same file repeatedly, which should not overwrite previous content.

Related to: metafacture/metafacture-fix#238 and metafacture/metafacture-fix#269

Previously, setters would only take effect for subsequently opened files.

Regarding `ObjectFileWriterCompressionTest`: It only passed due to file names automatically triggering the expected compression.
@blackwinter
blackwinter merged commit a9e94d3 into master Nov 18, 2022
@blackwinter
blackwinter deleted the appendIfFileExistsInObjectFileWriter branch November 18, 2022 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants