commit | b371f189dfdfb2454a20ec276de55fe884d6ff9f | [log] [tgz] |
---|---|---|
author | joshuabezaleel <joshua.bezaleel@gmail.com> | Fri Feb 07 17:36:26 2020 +0700 |
committer | Rob Pike <r@golang.org> | Thu Jun 04 10:53:46 2020 +0000 |
tree | 67ce2494bb5895afef1db412d9696553b12b3501 | |
parent | bffb8818e76e830697e183219523aa25a32480f0 [diff] |
io/ioutil: update WriteFile to clarify it does not change permissions if the file exists. The existing documentation of WriteFile does not make it clear for non-native English speakers that it will not change the permissions if the file already exists before. Fixes #35711 Change-Id: If861c3e3700957fc9ac3d5313351c57d399d3f58 Reviewed-on: https://go-review.googlesource.com/c/go/+/218417 Reviewed-by: Rob Pike <r@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.