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