Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
os: ambiguous documentation of type FileMode #25422
What version of Go are you using (
changed the title from
Ambiguous documentation of type FileMode
os: ambiguous documentation of type FileMode
May 16, 2018
The defined file mode bits are the most significant bits of the FileMode. The nine least-significant bits are the standard Unix rwxrwxrwx permissions.
Should I raise CL with above comment?
I think we should separate the non-single-bit constants into a separate
In truth changing any of the constant values would break Go 1 compatibility but it does make sense to clarify that the single-bit flags especially can't be changed.