Kathryn Baldauf
8f0d50b3b3
Revert "[Temporary] Revert Implement winio.GetFileStandardInfo FileInfo commits "
2021-04-22 10:33:11 -07:00
Kathryn Baldauf
e5bd3f6e28
Revert "Implement winio.GetFileStandardInfo"
...
This reverts commit ef753e60d2 .
Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com >
2021-04-21 12:50:05 -07:00
Kathryn Baldauf
d80ed10b91
Revert "Replace local *FileInformationByHandleEx with x/sys/windows"
...
This reverts commit bfd546865c .
Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com >
2021-04-21 12:49:46 -07:00
Paul "TBBle" Hampson
ef753e60d2
Implement winio.GetFileStandardInfo
...
Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com >
2021-02-11 22:50:55 +11:00
Paul "TBBle" Hampson
bfd546865c
Replace local *FileInformationByHandleEx with x/sys/windows
...
We also get pre-defined constants instead of carrying our own copies.
However, this changes the public API winio.FileBasicInfo from using
syscall.Filetime to using windows.Filetime, as visible in
backuptar/tar.go.
Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com >
2021-02-11 22:50:55 +11:00
Jiri Appl
5380df2ba5
Changes based on PR
2018-08-03 12:01:41 -07:00
Jiri Appl
350b9857de
Update FileAttributes size to work on 32 bit platforms
2018-08-02 10:42:57 -07:00
Darren Stahl
e9792bc98c
Added runtime.KeepAlive for the new stricter 1.8 GC
...
Signed-off-by: Darren Stahl <darst@microsoft.com >
2017-05-03 12:47:12 -07:00
Cezar Sa Espinola
94c0518b08
Include build tags to allow go get on non-Windows platforms. Fixes #30
2016-10-06 18:00:50 -03:00
John Starks
2245090e75
Add GetFileID function
2016-03-30 12:38:04 -07:00
John Starks
1ac2c4761f
Add functions to get/set FILE_BASIC_INFO
2016-02-18 20:33:57 -08:00