]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.23] os: document CopyFS behavior for symlinks in destination
authorDamien Neil <dneil@google.com>
Wed, 24 Jul 2024 17:29:13 +0000 (10:29 -0700)
committerDamien Neil <dneil@google.com>
Wed, 24 Jul 2024 18:55:12 +0000 (18:55 +0000)
commit559c77592f182a2f77f2d70328cb649609517bd3
tree3b8612d5faee8ee5192a7a76e09479a330052e92
parentf5e4e45ef720765600413c941c01b424f1486438
[release-branch.go1.23] os: document CopyFS behavior for symlinks in destination

Also clarify the permissions of created files,
and note that CopyFS will not overwrite files.

Update a few places in documentation to use 0oXXX for octal consts.

For #62484

Change-Id: I208ed2bde250304bc7fac2b93963ba57037e791e
Reviewed-on: https://go-review.googlesource.com/c/go/+/600775
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
(cherry picked from commit 910e6b5fae7cbf84e4a3fcfa6739e20239080bcd)
Reviewed-on: https://go-review.googlesource.com/c/go/+/600815
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/os/dir.go
src/os/example_test.go
src/os/file.go