Merge pull request #157 from jterry75/fix_detachvhd

Fix regression in DetachVhd
tree: b022f8cfd659369440a43e2abbc1d1652a602171
  1. archive/
  2. backuptar/
  3. pkg/
  4. tools/
  5. vhd/
  6. wim/
  7. .gitignore
  8. backup.go
  9. backup_test.go
  10. ea.go
  11. ea_test.go
  12. file.go
  13. fileinfo.go
  14. go.mod
  15. go.sum
  16. hvsock.go
  17. LICENSE
  18. pipe.go
  19. pipe_test.go
  20. privilege.go
  21. privileges_test.go
  22. README.md
  23. reparse.go
  24. sd.go
  25. sd_test.go
  26. syscall.go
  27. zsyscall_windows.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.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

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