Skip to content

x/sys/windows: add missing file attributes #25979

@Kropekk

Description

@Kropekk

In syscall library for Windows (version for amd64 architecture ) not all file attributes are present.

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions