Merge pull request #24 from Microsoft/fix

Pass FILE_FLAG_OPEN_REPARSE_POINT in OpenForBackup
tree: 42325e74a1963a9d18ae28a89826b6da222ffa03
  1. archive/
  2. backuptar/
  3. wim/
  4. .gitignore
  5. backup.go
  6. backup_test.go
  7. file.go
  8. fileinfo.go
  9. LICENSE
  10. pipe.go
  11. pipe_test.go
  12. privilege.go
  13. privileges_test.go
  14. README.md
  15. reparse.go
  16. sd.go
  17. sd_test.go
  18. syscall.go
  19. zsyscall.go
README.md

go-winio

This repository contains utilities for efficiently performing Win32 IO operations in Go. Currently, this is focused on accessing named pipes and other file handles, and for using named pipes as a net transport.

This code relies on IO completion ports to avoid blocking IO on system threads, allowing Go to reuse the thread to schedule another goroutine. This limits support to Windows Vista and newer operating systems. This is similar to the implementation of network sockets in Go's net package.

Please see the LICENSE file for licensing information.

Thanks to natefinch for the inspiration for this library. See https://github.com/natefinch/npipe for another named pipe implementation.