Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
.write(true)
to append and truncate examples
Setting append without write doesn't give you a writeable file. Showing it as an example in the docs is confusing at best. Using truncate on a read-only file is an error on POSIX systems (note however that using create with read-only flags is fine).
- Loading branch information