1
0
mirror of https://github.com/golang/go synced 2024-11-23 14:20:05 -07:00

os: clarify that ModePerm permission bits are the Unix ones

Fixes #7075

Change-Id: I57fcebaaef768b00263b6b91211b1434f6a4b229
Reviewed-on: https://go-review.googlesource.com/8919
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
Brad Fitzpatrick 2015-04-14 15:22:02 -07:00
parent 3e6b7f35de
commit 015c760893

View File

@ -53,7 +53,7 @@ const (
// Mask for the type bits. For regular files, none will be set.
ModeType = ModeDir | ModeSymlink | ModeNamedPipe | ModeSocket | ModeDevice
ModePerm FileMode = 0777 // permission bits
ModePerm FileMode = 0777 // Unix permission bits
)
func (m FileMode) String() string {