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: FileMode.String() generates a non-standard Mode representation #27452
What version of Go are you using (
changed the title from
FileMode(m).String() Generates a non-standard Mode Representation
os: FileMode.String() generates a non-standard Mode representation
Sep 2, 2018
The cross-platform goal is perfectly understandable but, in this case, I don't really think it applies since none of
As to code-breakage -- I'd view this in a similar light to the adage that we should never depend on the string value of errors (but, I'm guessing the core Go team sees this differently).
Perhaps a minor update for v2?