Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blockstore: allow to pass a file to write in #323

Merged
merged 2 commits into from
Aug 1, 2022

Commits on Jul 27, 2022

  1. blockstore: allow to pass a file to write in

    This allow the caller to control the file lifecycle and implement a cleaning strategy.
    An example would be:
    - open a file in a temporary folder
    - if the write suceed, close the file and move it to its final destination
    - on error, remove the file
    
    If the underlying filesystem support it, an anonymous file can be used instead: open
    then immediately delete, use the file descriptor to write. A crash before the end of the
    write process would release the used storage automatically.
    MichaelMure committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    be99dc5 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. Configuration menu
    Copy the full SHA
    aac3995 View commit details
    Browse the repository at this point in the history