zenfs icon indicating copy to clipboard operation
zenfs copied to clipboard

Return error on failed write buffer allocations in ZonedWritableFile

Open yhr opened this issue 2 years ago • 0 comments

We should return an error if the write buffer fails to be allocated for buffered writablefiles. The error should be reported in NewWritableFile.

We could move the allocation out of the constructor(as that does not return an error) an add a SetBuffered or Open() method that does the allocation.

yhr avatar Dec 22 '21 08:12 yhr