add an useful File::append()
utility
#134755
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
// open an existing or create a new file for append data.
// very useful when writing log files.
open_append()
doesn't make sense, since it maybe creates new filecreate_append()
doesn't make sense, since it maybe open existing fileSince we‘re adding
open_buffered
andcreate_buffered
, I think we also have a chance to addFile::append
.File::options().append(true).create(true).open(path.as_ref())
is too long and requires thinking more on flags in detail.The text was updated successfully, but these errors were encountered: