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?
I'm building a tiny database system on top of the
ResizableFilesystem. It seems beneficial to have self-definedsync()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 inResizableFile. Would it be a bad idea to expose thissync()primitive inResizableFile?