Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/sys/windows: add missing file attributes #25979
There are some constants already defined (FILE_ATTRIBUTE_*), but I would expect to see all of them or at least all applicable to syscall.SetFileAttributes(...) function (msdn docs for underlying function).
On the other hand, the remaining ones would be helpful in parsing syscall.GetFileAttributes(...) return value.
Summing up, I think that all FILE_ATTRIBUTE_* constants should be present in Windows-OS syscall library.
(BTW, I wanted to attach some labels to my issue, but I think it's not possible for a newcomer)
We aren't going to add any more constants to the syscall package. They should be added to the golang.org/x/sys/windows package instead. See https://docs.google.com/document/d/1QXzI9I1pOfZPujQzxhyRy6EeHYTQitKKjHfpq0zpxZs/edit#heading=h.5nqylt8x3hka .