Skip to content

Expose sync() for ResizableFile? #9

@mcourteaux

Description

@mcourteaux

I'm building a tiny database system on top of the ResizableFile system. It seems beneficial to have self-defined sync() calls whenever I finish an operation on the database. I'd rather not want to wait until the very end of my application to write back the changes to disk.

This function is accessible through MappedMemory, however this struct member is private in ResizableFile. Would it be a bad idea to expose this sync() primitive in ResizableFile?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions